(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6621],{91:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(32264),i=n(10714);let o=new Set(["brightness","contrast","saturate","opacity"]);function a(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.S)||[];if(!r)return e;let a=n.replace(r,""),s=+!!o.has(t);return r!==n&&(s*=100),t+"("+s+a+")"}let s=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:e=>{let t=e.match(s);return t?t.map(a).join(" "):e}}},277:(e,t,n)=>{"use strict";var r=n(55729),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},509:(e,t,n)=>{"use strict";n.d(t,{Et:()=>f,G8:()=>D,Gv:()=>h,I6:()=>E,Kg:()=>p,Mu:()=>I,Nn:()=>$,Om:()=>u,SL:()=>k,Tn:()=>m,W2:()=>z,YE:()=>H,Z3:()=>v,_4:()=>s,b0:()=>c,cC:()=>B,cM:()=>b,cy:()=>d,cz:()=>O,ft:()=>w,hg:()=>x,iQ:()=>j,jc:()=>T,l$:()=>R,l6:()=>W,nB:()=>F,nF:()=>L,rB:()=>N,tB:()=>_,u0:()=>P,uU:()=>S,vy:()=>U,xD:()=>C,xi:()=>A,zk:()=>V});var r="undefined",i=typeof window!==r,o=typeof document!==r&&document,a=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],s=1e-7,l={cm:function(e){return 96*e/2.54},mm:function(e){return 96*e/254},in:function(e){return 96*e},pt:function(e){return 96*e/72},pc:function(e){return 96*e/6},"%":function(e,t){return e*t/100},vw:function(e,t){return void 0===t&&(t=window.innerWidth),e/100*t},vh:function(e,t){return void 0===t&&(t=window.innerHeight),e/100*t},vmax:function(e,t){return void 0===t&&(t=Math.max(window.innerWidth,window.innerHeight)),e/100*t},vmin:function(e,t){return void 0===t&&(t=Math.min(window.innerWidth,window.innerHeight)),e/100*t}};function u(e,t,n,r){return(e*r+t*n)/(n+r)}function c(e){return typeof e===r}function h(e){return e&&"object"==typeof e}function d(e){return Array.isArray(e)}function p(e){return"string"==typeof e}function f(e){return"number"==typeof e}function m(e){return"function"==typeof e}function g(e,t,n){if(!e.ignore)return null;var r=t.slice(Math.max(n-3,0),n+3).join("");return new RegExp(e.ignore).exec(r)}function y(e,t){var n,r=p(t)?{separator:t}:t,i=r.separator,o=void 0===i?",":i,s=r.isSeparateFirst,l=r.isSeparateOnlyOpenClose,u=r.isSeparateOpenClose,c=void 0===u?l:u,h=r.openCloseCharacters,d=void 0===h?a:h,f=RegExp("(\\s*"+o+"\\s*|"+d.map(function(e){var t=e.open,n=e.close;return t===n?t:t+"|"+n}).join("|")+"|\\s+)","g"),m=e.split(f).filter(function(e){return e&&"undefined"!==e}),v=m.length,b=[],w=[];function x(){return!!w.length&&(b.push(w.join("")),w=[],!0)}for(var _=0;_-1?e[r]:n}var A=function(){var e=_(),t=i&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame);return t?t.bind(window):function(t){var n=_();return setTimeout(function(){t(n-e)},1e3/60)}}(),S=function(){var e=i&&(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame);return e?e.bind(window):function(e){clearTimeout(e)}}();function C(e){return Object.keys(e)}function T(e,t){var n=x(e),r=n.value,i=n.unit;if(h(t)){var o=t[i];if(o){if(m(o))return o(r);else if(l[i])return l[i](r,o)}}else if("%"===i)return r*t/100;return l[i]?l[i](r):r}function M(e,t,n,r){return void 0===r&&(r=e[0]/e[1]),[[L(t[0],s),L(t[0]/r,s)],[L(t[1]*r,s),L(t[1],s)]].filter(function(e){return e.every(function(e,r){var i=t[r],o=L(i,s);return n?e<=i||e<=o:e>=i||e>=o})})[0]||e}function P(e,t,n,r){if(!r)return e.map(function(e,r){return Math.max(t[r],Math.min(e,n[r]))});var i=e[0],o=e[1],a=!0===r?i/o:r,s=M(e,t,!1,a),l=s[0],u=s[1],c=M(e,n,!0,a),h=c[0],d=c[1];return ih||o>d)&&(i=h,o=d),[i,o]}function O(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return n}function D(e){for(var t=e.length,n=0,r=t-1;r>=0;--r)n+=e[r];return t?n/t:0}function I(e,t){var n=t[0]-e[0],r=Math.atan2(t[1]-e[1],n);return r>=0?r:r+2*Math.PI}function N(e){var t=[0,1].map(function(t){return D(e.map(function(e){return e[t]}))}),n=I(t,e[0]),r=I(t,e[1]);return nr&&r-n<-Math.PI?1:-1}function R(e,t){return Math.sqrt(Math.pow((t?t[0]:0)-e[0],2)+Math.pow((t?t[1]:0)-e[1],2))}function L(e,t){return t?Math.round(e/t)/(1/t):e}function B(e,t){return e.forEach(function(n,r){e[r]=L(e[r],t)}),e}function F(e,t){return e.classList?e.classList.contains(t):!!e.className.match(RegExp("(\\s|^)"+t+"(\\s|$)"))}function j(e,t){e.classList?e.classList.add(t):e.className+=" "+t}function U(e,t){if(e.classList)e.classList.remove(t);else{var n=RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ")}}function z(e,t,n,r){e.addEventListener(t,n,r)}function $(e,t,n,r){e.removeEventListener(t,n,r)}function H(e){return(null==e?void 0:e.ownerDocument)||o}function V(e){var t;return(null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView)||window}function W(e){return e&&"postMessage"in e&&"blur"in e&&"self"in e}},666:(e,t,n)=>{"use strict";n.d(t,{Dr:()=>d,If:()=>h,O3:()=>c,r9:()=>p});var r=n(16503),i=n(40697),o=n(54578),a=n(87613),s=n(68827),l=n(55729),u=n(88990);function c(e){var t;let{onChange:n,defaultIndex:i,index:o,allowMultiple:a,allowToggle:c,...h}=e;(function(e){let t=e.index||e.defaultIndex,n=null!=t&&!Array.isArray(t)&&e.allowMultiple;(0,s.R)({condition:!!n,message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`})})(e),t=e,(0,s.R)({condition:!!(t.allowMultiple&&t.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"});let d=(0,u.Of)(),[p,f]=(0,l.useState)(-1);(0,l.useEffect)(()=>()=>{f(-1)},[]);let[m,g]=(0,r.i)({value:o,defaultValue:()=>a?i??[]:i??-1,onChange:n});return{index:m,setIndex:g,htmlProps:h,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(m)?m.includes(e):m===e),{isOpen:t,onChange:t=>{null!==e&&(a&&Array.isArray(m)?g(t?m.concat(e):m.filter(t=>t!==e)):t?g(e):c&&g(-1))}}},focusedIndex:p,setFocusedIndex:f,descendants:d}}let[h,d]=(0,o.q)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function p(e){var t,n;let{isDisabled:r,isFocusable:o,id:c,...h}=e,{getAccordionItemProps:p,setFocusedIndex:f}=d(),m=(0,l.useRef)(null),g=(0,l.useId)(),y=c??g,v=`accordion-button-${y}`,b=`accordion-panel-${y}`;t=e,(0,s.R)({condition:!!(t.isFocusable&&!t.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. `});let{register:w,index:x,descendants:_}=(0,u.v3)({disabled:r&&!o}),{isOpen:k,onChange:E}=p(-1===x?null:x);n={isOpen:k,isDisabled:r},(0,s.R)({condition:n.isOpen&&!!n.isDisabled,message:"Cannot open a disabled accordion item"});let A=(0,l.useCallback)(()=>{E?.(!k),f(x)},[x,f,k,E]),S=(0,l.useCallback)(e=>{let t={ArrowDown:()=>{let e=_.nextEnabled(x);e?.node.focus()},ArrowUp:()=>{let e=_.prevEnabled(x);e?.node.focus()},Home:()=>{let e=_.firstEnabled();e?.node.focus()},End:()=>{let e=_.lastEnabled();e?.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))},[_,x]),C=(0,l.useCallback)(()=>{f(x)},[f,x]),T=(0,l.useCallback)(function(e={},t=null){return{...e,type:"button",ref:(0,i.Px)(w,m,t),id:v,disabled:!!r,"aria-expanded":!!k,"aria-controls":b,onClick:(0,a.H)(e.onClick,A),onFocus:(0,a.H)(e.onFocus,C),onKeyDown:(0,a.H)(e.onKeyDown,S)}},[v,r,k,A,C,S,b,w]),M=(0,l.useCallback)(function(e={},t=null){return{...e,ref:t,role:"region",id:b,"aria-labelledby":v,hidden:!k}},[v,k,b]);return{isOpen:k,isDisabled:r,isFocusable:o,onOpen:()=>{E?.(!0)},onClose:()=>{E?.(!1)},getButtonProps:T,getPanelProps:M,htmlProps:h}}},785:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});let r={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent"}},932:(e,t,n)=>{var r=n(22346);e.exports=function(e){return r(e,4)}},947:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55729),i=n(2005),o=n(39151);function a(){var e=r.useContext(o.ob);return(0,i.HM)(e),e}},965:(e,t,n)=>{"use strict";n.d(t,{Wc:()=>f});var r=n(60852),i=n(30062),o=n(43039),a=n(60535),s=n(73371),l=n(24772),u=n(78986),c=n(81705),h=n(67584),d=n(55729);let p=d.createContext(null);function f(e,t){let{focusProps:n}=(0,l.i)(e),{keyboardProps:f}=(0,u.d)(e),m=(0,h.v)(n,f),g=function(e){let t=(0,d.useContext)(p)||{};(0,c.N)(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}});let{ref:n,...r}=t;return r}(t),y=e.isDisabled?{}:g,v=(0,d.useRef)(e.autoFocus);(0,d.useEffect)(()=>{v.current&&t.current&&function(e){let t=(0,i.TW)(e),n=(0,o.bq)(t);"virtual"===(0,r.ME)()?(0,a.v)(()=>{(0,o.bq)(t)===n&&e.isConnected&&(0,s.e)(e)}):(0,s.e)(e)}(t.current),v.current=!1},[t]);let b=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(b=void 0),{focusableProps:(0,h.v)({...m,tabIndex:b},y)}}},1011:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var r=n(45286),i=n(55729),o=n(66048),a=n(27473),s=n(11612),l=n(48517),u=n(50123),c=n(7653),h=n(45471);function d(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=(0,s.Cl)({timeZone:t},e[r]),n},{})}function p(e,t){return Object.keys((0,s.Cl)((0,s.Cl)({},e),t)).reduce(function(n,r){return n[r]=(0,s.Cl)((0,s.Cl)({},e[r]||{}),t[r]||{}),n},{})}function f(e,t){if(!t)return e;var n=u.S.formats;return(0,s.Cl)((0,s.Cl)((0,s.Cl)({},n),e),{date:p(d(n.date,t),d(e.date||{},t)),time:p(d(n.time,t),d(e.time||{},t))})}var m=function(e,t,n,r,i){var o=e.locale,a=e.formats,u=e.messages,d=e.defaultLocale,p=e.defaultFormats,m=e.fallbackOnEmptyString,g=e.onError,y=e.timeZone,v=e.defaultRichTextElements;void 0===n&&(n={id:""});var b=n.id,w=n.defaultMessage;(0,l.V1)(!!b,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var x=String(b),_=u&&Object.prototype.hasOwnProperty.call(u,x)&&u[x];if(Array.isArray(_)&&1===_.length&&_[0].type===h.ZE.literal)return _[0].value;if(!r&&_&&"string"==typeof _&&!v)return _.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=(0,s.Cl)((0,s.Cl)({},v),r||{}),a=f(a,y),p=f(p,y),!_){if(!1===m&&""===_)return _;if((!w||o&&o.toLowerCase()!==d.toLowerCase())&&g(new c.sb(n,o)),w)try{var k=t.getMessageFormat(w,d,p,i);return k.format(r)}catch(e){return g(new c.Ho('Error formatting default message for: "'.concat(x,'", rendering default message verbatim'),o,n,e)),"string"==typeof w?w:x}return x}try{var k=t.getMessageFormat(_,o,a,(0,s.Cl)({formatters:t},i||{}));return k.format(r)}catch(e){g(new c.Ho('Error formatting message: "'.concat(x,'", using ').concat(w?"default message":"id"," as fallback."),o,n,e))}if(w)try{var k=t.getMessageFormat(w,d,p,i);return k.format(r)}catch(e){g(new c.Ho('Error formatting the default message for: "'.concat(x,'", rendering message verbatim'),o,n,e))}return"string"==typeof _?_:"string"==typeof w?w:x},g=n(74251),y=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function v(e,t,n){var r=e.locale,i=e.formats,o=e.onError;void 0===n&&(n={});var a=n.format,s=a&&(0,g.F3)(i,"number",a,o)||{};return t(r,(0,g.J9)(n,y,s))}function b(e,t,n,r){void 0===r&&(r={});try{return v(e,t,r).format(n)}catch(t){e.onError(new c.Ar(c.lo.FORMAT_ERROR,"Error formatting number.",t))}return String(n)}function w(e,t,n,r){void 0===r&&(r={});try{return v(e,t,r).formatToParts(n)}catch(t){e.onError(new c.Ar(c.lo.FORMAT_ERROR,"Error formatting number.",t))}return[]}var x=n(10873),_=["numeric","style"];function k(e,t,n,r,i){void 0===i&&(i={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new x.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',x.O4.MISSING_INTL_API));try{var o,a,s,l,u,h;return(o=i,a=e.locale,s=e.formats,l=e.onError,void 0===o&&(o={}),h=!!(u=o.format)&&(0,g.F3)(s,"relative",u,l)||{},t(a,(0,g.J9)(o,_,h))).format(n,r)}catch(t){e.onError(new c.pg("Error formatting relative time.",e.locale,t))}return String(n)}var E=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function A(e,t,n,r){var i=e.locale,o=e.formats,a=e.onError,l=e.timeZone;void 0===r&&(r={});var u=r.format,c=(0,s.Cl)((0,s.Cl)({},l&&{timeZone:l}),u&&(0,g.F3)(o,t,u,a)),h=(0,g.J9)(r,E,c);return"time"!==t||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h=(0,s.Cl)((0,s.Cl)({},h),{hour:"numeric",minute:"numeric"})),n(i,h)}function S(e,t){for(var n=[],r=2;r{"use strict";n.d(t,{$x:()=>a,Ei:()=>l,IF:()=>o,O4:()=>r,Zo:()=>s});var r,i=n(27932);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,i.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return(0,i.C6)(t,e),t}(o),s=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,i)||this}return(0,i.C6)(t,e),t}(o),l=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,i.C6)(t,e),t}(o)},1714:(e,t,n)=>{"use strict";n.d(t,{F8:()=>l,FA:()=>p,FP:()=>i,HQ:()=>f,Ni:()=>c,RZ:()=>u,T9:()=>a,TW:()=>d,gn:()=>o,jk:()=>s,pi:()=>h,qR:()=>m,tn:()=>r});var r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,l=Math.sin,u=Math.sqrt,c=1e-12,h=Math.PI,d=h/2,p=2*h;function f(e){return e>1?0:e<-1?h:Math.acos(e)}function m(e){return e>=1?d:e<=-1?-d:Math.asin(e)}},2005:(e,t,n)=>{"use strict";n.d(t,{HM:()=>s,JF:()=>l,bN:()=>c,yU:()=>u});var r=n(27932),i=n(55729),o=n(91344),a=n(11927);function s(e){(0,o.V1)(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}var l=(0,r.Cl)((0,r.Cl)({},a.JF),{textComponent:i.Fragment});function u(e){return function(t){return e(i.Children.toArray(t))}}function c(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o{"use strict";n.d(t,{Q:()=>r});let r=(0,n(55729).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},2603:(e,t,n)=>{var r=n(88165);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},2938:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,lq:()=>s,sG:()=>l});var r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){var r,i,o,a,l=-1;if(n*=1,(e*=1)==(t*=1)&&n>0)return[e];if((r=t0){let n=Math.round(e/a),r=Math.round(t/a);for(n*at&&--r,o=Array(i=r-n+1);++lt&&--r,o=Array(i=r-n+1);++l=0?(l>=r?10:l>=i?5:l>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=i?5:l>=o?2:1)}function l(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),l=a/s;return l>=r?s*=10:l>=i?s*=5:l>=o&&(s*=2),t{"use strict";e.exports=n(31026)},3448:(e,t,n)=>{"use strict";n.d(t,{K:()=>u});var r=n(6029),i=n(21938),o=n(49146),a=n(61400),s=n(45460),l=n(2241);let u=(0,s.R)(function(e,t){let n=(0,a.Jn)({...e,ref:t}),s=(0,o.e)();return(0,r.jsx)(l.B.div,{outline:"0",...n,className:(0,i.cx)("chakra-tabs__tab-panel",e.className),__css:s.tabpanel})});u.displayName="TabPanel"},3524:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,q:()=>a});var r=n(10714);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,o=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),a=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[o,a,s,l]=i.match(r.S);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},3655:(e,t,n)=>{"use strict";n.d(t,{O:()=>s,e:()=>a});var r=n(6638),i=n(93371),o=n(11841);function a(e){return(0,r.N)(e.animate)||o._.some(t=>(0,i.w)(e[t]))}function s(e){return!!(a(e)||e.variants)}},3670:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(80545);function i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var o=0;function a(e,t){let n=/\$/g,r=[e];if(null==t)return r;for(let e of Object.keys(t))if("_"!==e){let i=t[e];"string"==typeof i&&(i=n[Symbol.replace](i,"$$$$")),r=function(e,t,n){let r=[];return e.forEach(e=>"string"!=typeof e?r.push(e):t[Symbol.split](e).forEach((e,t,i)=>{""!==e&&r.push(e),t+(1!==e)},Array.isArray(e)?e.forEach(i(this,s)[s],this):i(this,s)[s](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!(0,r.A)(this.locale.strings,e))throw Error(`missing string: ${e}`);let n=this.locale.strings[e];if("object"==typeof n){if(t&&void 0!==t.smart_count)return a(n[this.locale.pluralize(t.smart_count)],t);throw Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return a(n,t)}}function u(e){if(!(null!=e&&e.strings))return;let t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}},3681:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},3837:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(64097);function i(e,t,n){let i=e.getProps();return(0,r.a)(i,t,void 0!==n?n:i.custom,e)}},3839:(e,t,n)=>{"use strict";n.d(t,{C:()=>u,a:()=>c});var r=n(8605),i=n(58429),o=n(53303),a=n(21662),s=n(67584),l=n(55729);let u=(0,l.createContext)(null),c=(0,l.forwardRef)(function(e,t){let{state:n,thumbProps:c,inputXRef:h,inputYRef:d,xInputProps:p,yInputProps:f,isDisabled:m=!1}=(0,l.useContext)(u),{focusProps:g,isFocused:y,isFocusVisible:v}=(0,o.o)(),{hoverProps:b,isHovered:w}=(0,a.M)(e),x=(0,r.Sl)({...e,defaultClassName:"react-aria-ColorThumb",defaultStyle:{...c.style,backgroundColor:n.getDisplayColor().toString()},values:{color:n.getDisplayColor(),isHovered:w,isDragging:n.isDragging,isFocused:y,isFocusVisible:v,isDisabled:m}}),_=(0,i.$)(e,{global:!0});return delete _.id,l.createElement("div",{...(0,s.v)(c,b,_),...x,ref:t,"data-hovered":w||void 0,"data-dragging":n.isDragging||void 0,"data-focused":y||void 0,"data-focus-visible":v||void 0,"data-disabled":m||void 0},l.createElement("input",{ref:h,...p,...g}),f&&l.createElement("input",{ref:d,...f,...g}),x.children)})},3913:e=>{"use strict";var t=Math.PI/180;function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);this.rx=e,this.ry=t,this.ax=r}n.prototype.transform=function(e){var n=Math.cos(this.ax*t),r=Math.sin(this.ax*t),i=[this.rx*(e[0]*n+e[2]*r),this.rx*(e[1]*n+e[3]*r),this.ry*(-e[0]*r+e[2]*n),this.ry*(-e[1]*r+e[3]*n)],o=i[0]*i[0]+i[2]*i[2],a=i[1]*i[1]+i[3]*i[3],s=((i[0]-i[3])*(i[0]-i[3])+(i[2]+i[1])*(i[2]+i[1]))*((i[0]+i[3])*(i[0]+i[3])+(i[2]-i[1])*(i[2]-i[1])),l=(o+a)/2;if(s<1e-10*l)return this.rx=this.ry=Math.sqrt(l),this.ax=0,this;var u=i[0]*i[1]+i[2]*i[3],c=l+(s=Math.sqrt(s))/2,h=l-s/2;return this.ax=1e-10>Math.abs(u)&&1e-10>Math.abs(c-a)?90:180*Math.atan(Math.abs(u)>Math.abs(c-a)?(c-o)/u:u/(c-a))/Math.PI,this.ax>=0?(this.rx=Math.sqrt(c),this.ry=Math.sqrt(h)):(this.ax+=90,this.rx=Math.sqrt(h),this.ry=Math.sqrt(c)),this},n.prototype.isDegenerate=function(){return this.rx<1e-10*this.ry||this.ry<1e-10*this.rx},e.exports=n},4175:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{"use strict";n.d(t,{A:()=>u});var r=n(71307),i=n(37951),o=(0,n(48579).A)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let s=function(e){if(!(0,i.A)(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t};var l=n(61732);let u=function(e){return(0,l.A)(e)?(0,r.A)(e):s(e)}},4192:(e,t,n)=>{"use strict";n.d(t,{TV:()=>g,Vz:()=>f,d1:()=>p,vw:()=>d});var r=n(6029),i=n(5858),o=n(54578),a=n(42732),s=n(45460),l=n(8527),u=n(2241);let[c,h]=(0,o.q)({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),d=(0,s.R)((e,t)=>{let n=(0,l.o)("Tag",e),o=(0,i.M)(e),a={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...n.container};return(0,r.jsx)(c,{value:n,children:(0,r.jsx)(u.B.span,{ref:t,...o,__css:a})})});d.displayName="Tag";let p=(0,s.R)((e,t)=>{let n=h();return(0,r.jsx)(u.B.span,{ref:t,noOfLines:1,...e,__css:n.label})});p.displayName="TagLabel";let f=(0,s.R)((e,t)=>(0,r.jsx)(a.I,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));f.displayName="TagLeftIcon",(0,s.R)((e,t)=>(0,r.jsx)(a.I,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e})).displayName="TagRightIcon";let m=e=>(0,r.jsx)(a.I,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});m.displayName="TagCloseIcon";let g=(0,s.R)((e,t)=>{let{isDisabled:n,children:i,...o}=e,a={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...h().closeButton};return(0,r.jsx)(u.B.button,{ref:t,"aria-label":"close",...o,type:"button",disabled:n,__css:a,children:i||(0,r.jsx)(m,{})})});g.displayName="TagCloseButton"},4232:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(34035),i=n(64816);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e,t)/6e4;return n>0?Math.floor(n):Math.ceil(n)}},4597:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(35387),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.A.Buffer:void 0;let s=(a?a.isBuffer:void 0)||function(){return!1}},4892:(e,t,n)=>{"use strict";n.d(t,{$:()=>d});var r=n(25125),i=n(50891),o=n(36457),a=n(40318),s=n(70624),l=n(3837),u=n(26302),c=n(73867),h=n(39750);function d(e,t,{delay:n=0,transitionOverride:p,type:f}={}){let{transition:m=e.getDefaultTransition(),transitionEnd:g,...y}=t;p&&(m=p);let v=[],b=f&&e.animationState&&e.animationState.getState()[f];for(let t in y){let a=e.getValue(t,e.latestValues[t]??null),s=y[t];if(void 0===s||b&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(b,t))continue;let l={delay:n,...(0,r.r)(m||{},t)},d=a.get();if(void 0!==d&&!a.isAnimating&&!Array.isArray(s)&&s===d&&!l.velocity)continue;let p=!1;if(window.MotionHandoffAnimation){let n=(0,c.P)(e);if(n){let e=window.MotionHandoffAnimation(n,t,i.Gt);null!==e&&(l.startTime=e,p=!0)}}(0,u.g)(e,t),a.start((0,h.f)(t,a,s,e.shouldReduceMotion&&o.$.has(t)?{type:!1}:l,e,p));let f=a.animation;f&&v.push(f)}return g&&Promise.all(v).then(()=>{i.Gt.update(()=>{g&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=(0,l.K)(e,t)||{};for(let t in i={...i,...n}){var o;let n=(o=i[t],(0,s.p)(o)?o[o.length-1]||0:o);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,a.OQ)(n))}}(e,g)})}),v}},4985:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(55729),i=n(40924),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,h]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(u||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&h(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>h(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{h(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5001:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var r=n(29652),i=n(55729),o=n(34142),a=n(30062),s=n(43039);function l(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:l,onFocusWithinChange:u}=e,c=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:d}=(0,o.A)(),p=(0,i.useCallback)(e=>{e.currentTarget.contains(e.target)&&c.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(c.current.isFocusWithin=!1,d(),n&&n(e),u&&u(!1))},[n,u,c,d]),f=(0,r.yB)(p),m=(0,i.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,a.TW)(e.target),n=(0,s.bq)(t);if(!c.current.isFocusWithin&&n===(0,s.wt)(e.nativeEvent)){l&&l(e),u&&u(!0),c.current.isFocusWithin=!0,f(e);let n=e.currentTarget;h(t,"focus",e=>{if(c.current.isFocusWithin&&!(0,s.sD)(n,e.target)){let i=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,r.o1)(i,n),p((0,r.eg)(i))}},{capture:!0})}},[l,u,f,h,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:p}}}},5169:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});let r=e=>Math.round(1e5*e)/1e5},5210:e=>{"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e*=1))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},5224:(e,t,n)=>{"use strict";function r(e){return void 0===e||1===e}function i({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function o(e){return i(e)||a(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function a(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{HD:()=>o,vF:()=>a,vk:()=>i})},5392:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(80445),i=n(54876),o=n(26936);let a=function(e,t,n){(void 0===n||(0,o.A)(e[t],n))&&(void 0!==n||t in e)||(0,i.A)(e,t,n)};var s=n(99092),l=n(95114),u=n(42009),c=n(4175),h=n(84704),d=n(38488),p=n(19379),f=n(97331),m=n(4597),g=n(61462),y=n(68493),v=n(72265),b=n(69132);let w=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var x=n(95785),_=n(39020);let k=function(e,t,n,r,i,o,s){var k=w(e,n),E=w(t,n),A=s.get(E);if(A)return void a(e,n,A);var S=o?o(k,E,n+"",e,t,s):void 0,C=void 0===S;if(C){var T=(0,p.A)(E),M=!T&&(0,m.A)(E),P=!T&&!M&&(0,b.A)(E);(S=E,T||M||P)?(0,p.A)(k)?S=k:(0,f.A)(k)?S=(0,c.A)(k):M?(C=!1,S=(0,l.A)(E,!0)):P?(C=!1,S=(0,u.A)(E,!0)):S=[]:(0,v.A)(E)||(0,d.A)(E)?(S=k,(0,d.A)(k))?S=(0,x.A)(k,(0,_.A)(k)):(!(0,y.A)(k)||(0,g.A)(k))&&(S=(0,h.A)(E)):C=!1}C&&(s.set(E,S),i(S,E,r,o,s),s.delete(E)),a(e,n,S)},E=function e(t,n,i,o,l){t!==n&&(0,s.A)(n,function(s,u){if(l||(l=new r.A),(0,y.A)(s))k(t,n,u,i,e,o,l);else{var c=o?o(w(t,u),s,u+"",t,n,l):void 0;void 0===c&&(c=s),a(t,u,c)}},_.A)};var A=n(36044),S=n(94894);let C=function(e){return(0,A.A)(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,S.A)(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r{"use strict";n.d(t,{A:()=>s});var r=n(26936);let i=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return -1};var o=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},a.prototype.set=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};let s=a},5777:(e,t,n)=>{"use strict";n.d(t,{JL:()=>a,n8:()=>s,rL:()=>l});var r=n(86640),i=n(16930),o=n(10095);function a(e){var t,n,i,o,a,s,l,u=void 0===e?{}:e,c=u.innerRadius,h=u.outerRadius,d=u.cornerRadius,p=u.startAngle,f=u.endAngle,m=u.padAngle,g=u.padRadius,y=(0,r.A)();return null!=c&&(t=y.innerRadius,t(c)),null!=h&&(n=y.outerRadius,n(h)),null!=d&&(i=y.cornerRadius,i(d)),null!=p&&(o=y.startAngle,o(p)),null!=f&&(a=y.endAngle,a(f)),null!=m&&(s=y.padAngle,s(m)),null!=g&&(l=y.padRadius,l(g)),y}function s(e){var t,n,r=void 0===e?{}:e,o=r.x,a=r.y,s=r.defined,l=r.curve,u=(0,i.A)();return o&&(t=u.x,t(o)),a&&(n=u.y,n(a)),s&&u.defined(s),l&&u.curve(l),u}function l(e){var t,n,r,i=void 0===e?{}:e,a=i.startAngle,s=i.endAngle,l=i.padAngle,u=i.value,c=i.sort,h=i.sortValues,d=(0,o.A)();return null===c?d.sort(c):null!=c&&d.sort(c),null===h?d.sortValues(h):null!=h&&d.sortValues(h),null!=u&&d.value(u),null!=l&&(t=d.padAngle,t(l)),null!=a&&(n=d.startAngle,n(a)),null!=s&&(r=d.endAngle,r(s)),d}},6088:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let r=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};var i=Math.max;let o=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a{"use strict";n.d(t,{N:()=>b});var r=n(6029),i=n(55729),o=n(36027),a=n(53255),s=n(16792),l=n(32639),u=n(25903),c=n(2514);function h(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,u.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:t,anchorX:n,root:o}){let a=(0,i.useId)(),s=(0,i.useRef)(null),l=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,i.useContext)(c.Q),p=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=h(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{let{width:e,height:r,top:i,left:c,right:h}=l.current;if(t||!s.current||!e||!r)return;let d="left"===n?`left: ${c}`:`right: ${h}`;s.current.dataset.motionPopId=a;let p=document.createElement("style");u&&(p.nonce=u);let f=o??document.head;return f.appendChild(p),p.sheet&&p.sheet.insertRule(` [data-motion-pop-id="${a}"] { position: absolute !important; width: ${e}px !important; height: ${r}px !important; ${d}px !important; top: ${i}px !important; } `),()=>{f.contains(p)&&f.removeChild(p)}},[t]),(0,r.jsx)(d,{isPresent:t,childRef:s,sizeRef:l,children:i.cloneElement(e,{ref:p})})}let f=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:s,presenceAffectsLayout:u,mode:c,anchorX:h,root:d})=>{let f=(0,a.M)(m),g=(0,i.useId)(),y=!0,v=(0,i.useMemo)(()=>(y=!1,{id:g,initial:t,isPresent:n,custom:s,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;o&&o()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[n,f,o]);return u&&y&&(v={...v}),(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),i.useEffect(()=>{n||f.size||!o||o()},[n]),"popLayout"===c&&(e=(0,r.jsx)(p,{isPresent:n,anchorX:h,root:d,children:e})),(0,r.jsx)(l.t.Provider,{value:v,children:e})};function m(){return new Map}var g=n(29032);let y=e=>e.key||"";function v(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:n=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:h=!1,anchorX:d="left",root:p})=>{let[m,b]=(0,g.xQ)(h),w=(0,i.useMemo)(()=>v(e),[e]),x=h&&!m?[]:w.map(y),_=(0,i.useRef)(!0),k=(0,i.useRef)(w),E=(0,a.M)(()=>new Map),[A,S]=(0,i.useState)(w),[C,T]=(0,i.useState)(w);(0,s.E)(()=>{_.current=!1,k.current=w;for(let e=0;e{let i=y(e),o=(!h||!!m)&&(w===C||x.includes(i));return(0,r.jsx)(f,{isPresent:o,initial:(!_.current||!!n)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:p,onExitComplete:o?void 0:()=>{if(!E.has(i))return;E.set(i,!0);let e=!0;E.forEach(t=>{t||(e=!1)}),e&&(P?.(),T(k.current),h&&b?.(),l&&l())},anchorX:d,children:e},i)})})}},6627:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});let r={}},6638:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},6743:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(6029),i=n(21938),o=n(88990),a=n(45460),s=n(2241);let l=(0,a.R)(function(e,t){let{getButtonProps:n}=(0,o.AV)(),a=n(e,t),l={display:"flex",alignItems:"center",width:"100%",outline:0,...(0,o.EF)().button};return(0,r.jsx)(s.B.button,{...a,className:(0,i.cx)("chakra-accordion__button",e.className),__css:l})});l.displayName="AccordionButton"},6760:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(6029),i=n(21938),o=n(78140),a=n(2241);let s=e=>{let{className:t,...n}=e,s=(0,o.$)();return(0,r.jsx)(a.B.hr,{"aria-orientation":"horizontal",className:(0,i.cx)("chakra-menu__divider",t),...n,__css:s.divider})};s.displayName="MenuDivider"},6797:(e,t,n)=>{e.exports=n(95486)("toUpperCase")},6855:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e}n.d(t,{A:()=>o});var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&i.splice(o,1)}}else this._events[e]=[];else this._events={};return this},t.once=function(e,t){var n=this;return t&&this._addEvent(e,t,{once:!0}),new Promise(function(t){n._addEvent(e,t,{once:!0})})},t.emit=function(e,t){var n=this;void 0===t&&(t={});var r=this._events[e];if(!e||!r)return!0;var i=!1;return t.eventType=e,t.stop=function(){i=!0},t.currentTarget=this,(function(){for(var e=0,t=0,n=arguments.length;t{"use strict";n.d(t,{A:()=>a});var r=n(16655),i=n(94916),o=n(64816);function a(e,t){return(0,o.A)(2,arguments),function(e,t){(0,o.A)(2,arguments);var n=(0,i.A)(e),a=(0,r.A)(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}(e,-(0,r.A)(t))}},7203:(e,t,n)=>{"use strict";e.exports=n(65675)},7352:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(13337);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},7653:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>o,Ho:()=>c,OC:()=>a,hr:()=>l,lo:()=>r,pg:()=>u,sb:()=>h,uo:()=>s});var r,i=n(11612);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var o=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return(0,i.C6)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,i.C6)(t,e),t}(o),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,i.C6)(t,e),t}(o),l=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,i.C6)(t,e),t}(o),u=function(e){function t(t,n,i){return e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),i)||this}return(0,i.C6)(t,e),t}(o),c=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o}return(0,i.C6)(t,e),t}(u),h=function(e){function t(t,n){var i=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!=(t=e.value)?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=t,i}return(0,i.C6)(t,e),t}(o)},7749:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(40318),i=n(55729),o=n(2514),a=n(53255);function s(e){let t=(0,a.M)(()=>(0,r.OQ)(e)),{isStatic:n}=(0,i.useContext)(o.Q);if(n){let[,n]=(0,i.useState)(e);(0,i.useEffect)(()=>t.on("change",n),[])}return t}},7803:(e,t,n)=>{"use strict";n.d(t,{ll:()=>eg,rD:()=>ew,UU:()=>eb,cY:()=>ey,BN:()=>ev});let r=Math.min,i=Math.max,o=Math.round,a=Math.floor,s=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function f(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function g(e){return m.has(h(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>u[e])}let v=["left","right"],b=["right","left"],w=["top","bottom"],x=["bottom","top"];function _(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function k(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function E(e,t,n){let r,{reference:i,floating:o}=e,a=g(t),s=p(g(t)),l=f(s),u=h(t),c="y"===a,m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[l]/2-o[l]/2;switch(u){case"top":r={x:m,y:i.y-o.height};break;case"bottom":r={x:m,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[s]-=v*(n&&c?-1:1);break;case"end":r[s]+=v*(n&&c?-1:1)}return r}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:h}=E(u,r,l),d=r,p={},f=0;for(let n=0;n{try{return e.matches(t)}catch(e){return!1}})}let $=["transform","translate","scale","rotate","perspective"],H=["transform","translate","scale","rotate","perspective","filter"],V=["paint","layout","strict","content"];function W(e){let t=q(),n=N(e)?K(e):e;return $.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||H.some(e=>(n.willChange||"").includes(e))||V.some(e=>(n.contain||"").includes(e))}function q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Y=new Set(["html","body","#document"]);function G(e){return Y.has(P(e))}function K(e){return O(e).getComputedStyle(e)}function X(e){return N(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===P(e))return e;let t=e.assignedSlot||e.parentNode||L(e)&&e.host||D(e);return L(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Z(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:R(n)&&F(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=O(i);if(o){let e=Q(a);return t.concat(a,a.visualViewport||[],F(i)?i:[],e&&n?J(e):[])}return t.concat(i,J(i,[],n))}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=R(e),a=i?e.offsetWidth:n,s=i?e.offsetHeight:r,l=o(n)!==a||o(r)!==s;return l&&(n=a,r=s),{width:n,height:r,$:l}}function et(e){return N(e)?e:e.contextElement}function en(e){let t=et(e);if(!R(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=ee(t),l=(a?o(n.width):n.width)/r,u=(a?o(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let er=s(0);function ei(e){let t=O(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=et(e),l=s(1);t&&(r?N(r)&&(l=en(r)):l=en(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===O(a))&&i)?ei(a):s(0),c=(o.left+u.x)/l.x,h=(o.top+u.y)/l.y,d=o.width/l.x,p=o.height/l.y;if(a){let e=O(a),t=r&&N(r)?O(r):r,n=e,i=Q(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,h*=e.y,d*=e.x,p*=e.y,c+=o,h+=a,i=Q(n=O(i))}}return k({width:d,height:p,x:c,y:h})}function ea(e,t){let n=X(e).scrollLeft;return t?t.left+n:eo(D(e)).left+n}function es(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ea(e,n),y:n.top+t.scrollTop}}let el=new Set(["absolute","fixed"]);function eu(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=O(e),r=D(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=q();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ea(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=D(e),n=X(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+ea(e),l=-n.scrollTop;return"rtl"===K(r).direction&&(s+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:l}}(D(e));else if(N(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=R(e)?en(e):s(1),a=e.clientWidth*o.x,l=e.clientHeight*o.y;return{width:a,height:l,x:i*o.x,y:r*o.y}}(t,n);else{let n=ei(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return k(r)}function ec(e){return"static"===K(e).position}function eh(e,t){if(!R(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return D(e)===n&&(n=n.ownerDocument.body),n}function ed(e,t){var n;let r=O(e);if(z(e))return r;if(!R(e)){let t=Z(e);for(;t&&!G(t);){if(N(t)&&!ec(t))return t;t=Z(t)}return r}let i=eh(e,t);for(;i&&(n=i,j.has(P(n)))&&ec(i);)i=eh(i,t);return i&&G(i)&&ec(i)&&!W(i)?r:i||function(e){let t=Z(e);for(;R(t)&&!G(t);){if(W(t))return t;if(z(t))break;t=Z(t)}return null}(e)||r}let ep=async function(e){let t=this.getOffsetParent||ed,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=R(t),i=D(t),o="fixed"===n,a=eo(e,!0,o,t),l={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!o)if(("body"!==P(t)||F(i))&&(l=X(t)),r){let e=eo(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ea(i));o&&!r&&i&&(u.x=ea(i));let c=!i||r||o?s(0):es(i,l);return{x:a.left+l.scrollLeft-u.x-c.x,y:a.top+l.scrollTop-u.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=D(r),l=!!t&&z(t.floating);if(r===a||l&&o)return n;let u={scrollLeft:0,scrollTop:0},c=s(1),h=s(0),d=R(r);if((d||!d&&!o)&&(("body"!==P(r)||F(a))&&(u=X(r)),R(r))){let e=eo(r);c=en(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}let p=!a||d||o?s(0):es(a,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+h.x+p.x,y:n.y*c.y-u.scrollTop*c.y+h.y+p.y}},getDocumentElement:D,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e,s=[..."clippingAncestors"===n?z(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>N(e)&&"body"!==P(e)),i=null,o="fixed"===K(e).position,a=o?Z(e):e;for(;N(a)&&!G(a);){let t=K(a),n=W(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&el.has(i.position)||F(a)&&!n&&function e(t,n){let r=Z(t);return!(r===n||!N(r)||G(r))&&("fixed"===K(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=Z(a)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=s[0],u=s.reduce((e,n)=>{let o=eu(t,n,a);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},eu(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ed,getElementRects:ep,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:N,isRTL:function(e){return"rtl"===K(e).direction}};function em(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eg(e,t,n,o){let s;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:h="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=et(e),f=l||u?[...p?J(p):[],...J(t)]:[];f.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&h?function(e,t){let n,o=null,s=D(e);function l(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function u(c,h){void 0===c&&(c=!1),void 0===h&&(h=1),l();let d=e.getBoundingClientRect(),{left:p,top:f,width:m,height:g}=d;if(c||t(),!m||!g)return;let y=a(f),v=a(s.clientWidth-(p+m)),b={rootMargin:-y+"px "+-v+"px "+-a(s.clientHeight-(f+g))+"px "+-a(p)+"px",threshold:i(0,r(1,h))||1},w=!0;function x(t){let r=t[0].intersectionRatio;if(r!==h){if(!w)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||em(d,e.getBoundingClientRect())||u(),w=!1}try{o=new IntersectionObserver(x,{...b,root:s.ownerDocument})}catch(e){o=new IntersectionObserver(x,b)}o.observe(e)}(!0),l}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),y.observe(t));let v=d?eo(e):null;return d&&function t(){let r=eo(e);v&&!em(v,r)&&n(),v=r,s=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(s)}}let ey=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await T(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},ev=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(e,t),f={x:n,y:o},m=await S(t,d),y=g(h(a)),v=p(y),b=f[v],w=f[y];if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=b+m[e],o=b-m[t];b=i(n,r(b,o))}if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+m[e],o=w-m[t];w=i(n,r(w,o))}let x=u.fn({...t,[v]:b,[y]:w});return{...x,data:{x:x.x-n,y:x.y-o,enabled:{[v]:s,[y]:l}}}}}},eb=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:m,platform:k,elements:E}=t,{mainAxis:A=!0,crossAxis:C=!0,fallbackPlacements:T,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:O=!0,...D}=c(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let I=h(s),N=g(m),R=h(m)===m,L=await (null==k.isRTL?void 0:k.isRTL(E.floating)),B=T||(R||!O?[_(m)]:function(e){let t=_(e);return[y(e),t,y(t)]}(m)),F="none"!==P;!T&&F&&B.push(...function(e,t,n,r){let i=d(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?b:v;return t?v:b;case"left":case"right":return t?w:x;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(m,O,P,L));let j=[m,...B],U=await S(t,D),z=[],$=(null==(r=l.flip)?void 0:r.overflows)||[];if(A&&z.push(U[I]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=d(e),i=p(g(e)),o=f(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=_(a)),[a,_(a)]}(s,u,L);z.push(U[e[0]],U[e[1]])}if($=[...$,{placement:s,overflows:z}],!z.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=j[e];if(t&&("alignment"!==C||N===g(t)||$.every(e=>g(e.placement)!==N||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let n=null==(o=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(M){case"bestFit":{let e=null==(a=$.filter(e=>{if(F){let t=g(e.placement);return t===N||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=m}if(s!==n)return{reset:{placement:n}}}return{}}}},ew=(e,t,n)=>{let r=new Map,i={platform:ef,...n},o={...i.platform,_c:r};return A(e,t,{...i,platform:o})}},7815:e=>{"use strict";var t=2*Math.PI;function n(e,t,n,r){var i=e*n+t*r;return i>1&&(i=1),i<-1&&(i=-1),(e*r-t*n<0?-1:1)*Math.acos(i)}e.exports=function(e,r,i,o,a,s,l,u,c){var h,d,p,f,m,g,y,v,b,w,x,_,k,E,A,S=Math.sin(c*t/360),C=Math.cos(c*t/360),T=C*(e-i)/2+S*(r-o)/2,M=-S*(e-i)/2+C*(r-o)/2;if(0===T&&0===M||0===l||0===u)return[];var P=T*T/((l=Math.abs(l))*l)+M*M/((u=Math.abs(u))*u);P>1&&(l*=Math.sqrt(P),u*=Math.sqrt(P));var O=(h=l,d=u,p=C*(e-i)/2+S*(r-o)/2,f=-S*(e-i)/2+C*(r-o)/2,m=h*h,g=d*d,y=p*p,(b=m*g-m*(v=f*f)-g*y)<0&&(b=0),b/=m*v+g*y,w=(b=Math.sqrt(b)*(a===s?-1:1))*h/d*f,x=-(b*d)/h*p,E=n(1,0,_=(p-w)/h,k=(f-x)/d),A=n(_,k,(-p-w)/h,(-f-x)/d),0===s&&A>0&&(A-=t),1===s&&A<0&&(A+=t),[C*w-S*x+(e+i)/2,S*w+C*x+(r+o)/2,E,A]),D=[],I=O[2],N=O[3],R=Math.max(Math.ceil(Math.abs(N)/(t/4)),1);N/=R;for(var L=0;L{"use strict";n.d(t,{A:()=>h});var r={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},i=n(81716),o={date:(0,i.A)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,i.A)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,i.A)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},s=n(93730),l={ordinalNumber:function(e,t){var n=Number(e),r=String((t||{}).unit);return"date"===r?n+"日":"year"===r?n+"年":n},era:(0,s.A)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})},u=n(89252),c=n(25696);let h={code:"ja",formatDistance:function(e,t,n){var i;if(n=n||{},i="string"==typeof r[e]?r[e]:1===t?n.addSuffix&&r[e].oneWithSuffix?r[e].oneWithSuffix:r[e].one:n.addSuffix&&r[e].otherWithSuffix?r[e].otherWithSuffix.replace("{{count}}",t):r[e].other.replace("{{count}}",t),n.addSuffix)if(n.comparison>0)return i+"後";else return i+"前";return i},formatLong:o,formatRelative:function(e,t,n,r){return a[e]},localize:l,match:{ordinalNumber:(0,u.A)({matchPattern:/^第?\d+(日)?(年)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},7972:(e,t,n)=>{"use strict";n.d(t,{i:()=>z});class r{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;nt.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return i(this.animations,"duration")}get iterationDuration(){return i(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function i(e,t){let n=0;for(let r=0;rn&&(n=i)}return n}class o extends r{then(e,t){return this.finished.finally(e).then(()=>{})}}var a=n(25684),s=n(53341),l=n(76387),u=n(97880),c=n(17120),h=n(58509),d=n(17203),p=n(29255),f=n(37146),m=n(87133);function g(e,t){return(0,m.h)(e)?e[((e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e})(0,e.length,t)]:e}var y=n(65254),v=n(32138);function b(e){return"object"==typeof e&&!Array.isArray(e)}function w(e,t,n,r){return"string"==typeof e&&b(t)?(0,v.K)(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function x(e,t,n,r){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}var _=n(22942);function k(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function E(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function A(e,t){return t[e]||(t[e]=[]),t[e]}let S=e=>"number"==typeof e,C=e=>e.every(S);var T=n(43753),M=n(4892),P=n(96426),O=n(41636),D=n(14987),I=n(23752),N=n(19749);class R extends N.B{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(t in e){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,I.ge)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}var L=n(89410);function B(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,P.x)(e)&&!(0,O.h)(e)?new L.l(t):new D.M(t);n.mount(e),T.C.set(e,n)}function F(e){let t=new R({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),T.C.set(e,t)}var j=n(64002);function U(e,t,n,r){let i=[];if((0,d.S)(e)||"number"==typeof e||"string"==typeof e&&!b(t))i.push((0,j.z)(e,b(t)&&t.default||t,n&&n.default||n));else{let o=w(e,t,r),a=o.length;(0,f.V)(!!a,"No valid elements provided.","no-valid-elements");for(let e=0;e{var m;let y=Array.isArray(m=e)?m:[m],{delay:v=0,times:b=(0,l.Z)(y),type:w="keyframes",repeat:x,repeatType:k,repeatDelay:E=0,...A}=n,{ease:S=t.ease||"easeOut",duration:P}=n,O="function"==typeof v?v(s,d):v,D=y.length,N=(0,u.W)(w)?w:i?.[w||"keyframes"];if(D<=2&&N){let e=100;2===D&&C(y)&&(e=Math.abs(y[1]-y[0]));let t={...A};void 0!==P&&(t.duration=(0,p.f)(P));let n=(0,c.X)(t,e,N);S=n.ease,P=n.duration}P??(P=o);let R=T+O;1===b.length&&0===b[0]&&(b[1]=1);let L=b.length-y.length;if(L>0&&(0,h.f)(b,L),1===y.length&&y.unshift(null),x){(0,f.V)(x<20,"Repeat count too high, must be less than 20","repeat-count-high");P*=x+1;let e=[...y],t=[...b],n=[...S=Array.isArray(S)?[...S]:[S]];for(let r=0;ri&&n.at{for(let i in e){let o=e[i];o.sort(k);let a=[],l=[],u=[];for(let e=0;e{r.push(...U(n,e,t))}),r}(t,n,void 0);else{let{onComplete:e,...o}=r||{};"function"==typeof e&&(i=e),m=U(t,n,o,void 0)}let v=new o(m);return i&&v.finished.then(i),e&&(e.animations.push(v),v.finished.then(()=>{(0,a.Ai)(e.animations,v)})),v}}()},7982:(e,t,n)=>{"use strict";let r;n.d(t,{B:()=>a});let i=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");class a{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[i];if(void 0===r){let e=window[o];if(!e)return null;for(let n in r={},e)r[n]=new a({[t]:e[n]},t)}let n=null==r?void 0:r[e];if(!n)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}},8099:(e,t,n)=>{"use strict";n.d(t,{m:()=>M});var r=n(6029),i=n(5858),o=n(94835),a=n(32496),s=n(44444),l=n(77850),u=n(4014),c=n(55729),h=n(20005);let d={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};var p=n(27229),f=n(58211),m=n(40697),g=n(57108),y=n(87613),v=n(10486),b=n(86809);let w=e=>e.current?.ownerDocument||document,x=e=>e.current?.ownerDocument?.defaultView||window,_="chakra-ui:close-tooltip";var k=n(16446),E=n(12514),A=n(2241),S=n(45460),C=n(8527);let T=(0,A.B)(l.P.div),M=(0,S.R)((e,t)=>{let n,l=(0,C.V)("Tooltip",e),S=(0,i.M)(e),M=(0,k.D)(),{children:P,label:O,shouldWrapChildren:D,"aria-label":I,hasArrow:N,bg:R,portalProps:L,background:B,backgroundColor:F,bgColor:j,motionProps:U,animatePresenceProps:z,...$}=S,H=B??F??R??j;if(H){l.bg=H;let e=(0,o.f)(M,"colors",H);l[b.O3.arrowBg.var]=e}let V=function(e={}){var t,n;let{openDelay:r=0,closeDelay:i=0,closeOnClick:o=!0,closeOnMouseDown:a,closeOnScroll:s,closeOnPointerDown:l=a,closeOnEsc:u=!0,onOpen:h,onClose:d,placement:k,id:E,isOpen:A,defaultIsOpen:S,arrowSize:C=10,arrowShadowColor:T,arrowPadding:M,modifiers:P,isDisabled:O,gutter:D,offset:I,direction:N,...R}=e,{isOpen:L,onOpen:B,onClose:F}=(0,p.j)({isOpen:A,defaultIsOpen:S,onOpen:h,onClose:d}),{referenceRef:j,getPopperProps:U,getArrowInnerProps:z,getArrowProps:$}=(0,v.E)({enabled:L,placement:k,arrowPadding:M,modifiers:P,gutter:D,offset:I,direction:N}),H=(0,c.useId)(),V=`tooltip-${E??H}`,W=(0,c.useRef)(null),q=(0,c.useRef)(void 0),Y=(0,c.useCallback)(()=>{q.current&&(clearTimeout(q.current),q.current=void 0)},[]),G=(0,c.useRef)(void 0),K=(0,c.useCallback)(()=>{G.current&&(clearTimeout(G.current),G.current=void 0)},[]),X=(0,c.useCallback)(()=>{K(),F()},[F,K]),Z=(t=W,n=X,(0,c.useEffect)(()=>{let e=w(t);return e.addEventListener(_,n),()=>e.removeEventListener(_,n)},[n,t]),()=>{let e=w(t),n=x(t);e.dispatchEvent(new n.CustomEvent(_))}),J=(0,c.useCallback)(()=>{O||q.current||(L&&Z(),q.current=x(W).setTimeout(B,r))},[Z,O,L,B,r]),Q=(0,c.useCallback)(()=>{Y(),G.current=x(W).setTimeout(X,i)},[i,X,Y]),ee=(0,c.useCallback)(()=>{L&&o&&Q()},[o,Q,L]),et=(0,c.useCallback)(()=>{L&&l&&Q()},[l,Q,L]),en=(0,c.useCallback)(e=>{L&&"Escape"===e.key&&Q()},[L,Q]);(0,f.M)(()=>w(W),"keydown",u?en:void 0),(0,f.M)(()=>{if(!s)return null;let e=W.current;if(!e)return null;let t=function e(t){return["html","body","#document"].includes(t.localName)?t.ownerDocument.body:(0,g.sb)(t)&&function(e){let{overflow:t,overflowX:n,overflowY:r}=(e.ownerDocument.defaultView||window).getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}(t)?t:e("html"===t.localName?t:t.assignedSlot||t.parentElement||t.ownerDocument.documentElement)}(e);return"body"===t.localName?x(W):t},"scroll",()=>{L&&s&&X()},{passive:!0,capture:!0}),(0,c.useEffect)(()=>{O&&(Y(),L&&F())},[O,L,F,Y]),(0,c.useEffect)(()=>()=>{Y(),K()},[Y,K]),(0,f.M)(()=>W.current,"pointerleave",Q);let er=(0,c.useCallback)((e={},t=null)=>({...e,ref:(0,m.Px)(W,t,j),onPointerEnter:(0,y.H)(e.onPointerEnter,e=>{"touch"!==e.pointerType&&J()}),onClick:(0,y.H)(e.onClick,ee),onPointerDown:(0,y.H)(e.onPointerDown,et),onFocus:(0,y.H)(e.onFocus,J),onBlur:(0,y.H)(e.onBlur,Q),"aria-describedby":L?V:void 0}),[J,Q,et,L,V,ee,j]),ei=(0,c.useCallback)((e={},t=null)=>U({...e,style:{...e.style,[b.O3.arrowSize.var]:C?`${C}px`:void 0,[b.O3.arrowShadowColor.var]:T}},t),[U,C,T]);return{isOpen:L,show:J,hide:Q,getTriggerProps:er,getTooltipProps:(0,c.useCallback)((e={},t=null)=>{let n={...e.style,position:"relative",transformOrigin:b.O3.transformOrigin.varRef};return{ref:t,...R,...e,id:V,role:"tooltip",style:n}},[R,V]),getTooltipPositionerProps:ei,getArrowProps:$,getArrowInnerProps:z}}({...$,direction:M.direction});if(!(0,c.isValidElement)(P)||D)n=(0,r.jsx)(A.B.span,{display:"inline-block",tabIndex:0,...V.getTriggerProps(),children:P});else{let e=c.Children.only(P);n=(0,c.cloneElement)(e,V.getTriggerProps(e.props,(0,h.Q)(e)))}let W=!!I,q=V.getTooltipProps({},t),Y=W?(0,a.c)(q,["role","id"]):q,G=(0,s.U)(q,["role","id"]);return O?(0,r.jsxs)(r.Fragment,{children:[n,(0,r.jsx)(u.N,{...z,children:V.isOpen&&(0,r.jsx)(E.Z,{...L,children:(0,r.jsx)(A.B.div,{...V.getTooltipPositionerProps(),__css:{zIndex:l.zIndex,pointerEvents:"none"},children:(0,r.jsxs)(T,{variants:d,initial:"exit",animate:"enter",exit:"exit",...U,...Y,__css:l,children:[O,W&&(0,r.jsx)(A.B.span,{srOnly:!0,...G,children:I}),N&&(0,r.jsx)(A.B.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,r.jsx)(A.B.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:l.bg}})})]})})})})]}):(0,r.jsx)(r.Fragment,{children:P})});M.displayName="Tooltip"},8442:(e,t,n)=>{"use strict";n.d(t,{RK:()=>a,TT:()=>r,hN:()=>function e(t,n,s,l,u,c,h){if(1===t.length&&(0,i.eW)(t[0]))return[{type:r.literal,value:t[0].value}];for(var d=[],p=0;p{"use strict";n.d(t,{Rg:()=>s,_J:()=>E,ck:()=>l,it:()=>b});var r=n(37243),i=Object.defineProperty,o="textStyle",a=/^\s*([-+*])\s$/,s=r.bP.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:e}){return["ul",(0,r.KV)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list",parseMarkdown:(e,t)=>"list"!==e.type||e.ordered?[]:{type:"bulletList",content:e.items?t.parseChildren(e.items):[]},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(o)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=(0,r.tG)({find:a,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,r.tG)({find:a,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(o),editor:this.editor})),[e]}}),l=r.bP.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",(0,r.KV)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list_item",parseMarkdown:(e,t)=>{if("list_item"!==e.type)return[];let n=[];if(e.tokens&&e.tokens.length>0)if(e.tokens.some(e=>"paragraph"===e.type))n=t.parseChildren(e.tokens);else{let r=e.tokens[0];if(r&&"text"===r.type&&r.tokens&&r.tokens.length>0){if(n=[{type:"paragraph",content:t.parseInline(r.tokens)}],e.tokens.length>1){let r=e.tokens.slice(1),i=t.parseChildren(r);n.push(...i)}}else n=t.parseChildren(e.tokens)}return 0===n.length&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(e,t,n)=>(0,r.kj)(e,t,e=>"bulletList"===e.parentType?"- ":"orderedList"===e.parentType?`${e.index+1}. `:"- ",n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}});((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})({},{findListItemPos:()=>u,getNextListDepth:()=>c,handleBackspace:()=>f,handleDelete:()=>y,hasListBefore:()=>h,hasListItemAfter:()=>v,hasListItemBefore:()=>d,listItemHasSubList:()=>p,nextListIsDeeper:()=>m,nextListIsHigher:()=>g});var u=(e,t)=>{let{$from:n}=t.selection,i=(0,r.Pg)(e,t.schema),o=n.depth,a=n.pos,s=null;for(;o>0&&null===s;)n.node(o).type===i?s=o:(o-=1,a-=1);return null===s?null:{$pos:t.doc.resolve(a),depth:s}},c=(e,t)=>{let n=u(e,t);if(!n)return!1;let[,i]=(0,r.fl)(t,e,n.$pos.pos+4);return i},h=(e,t,n)=>{let{$anchor:r}=e.selection,i=Math.max(0,r.pos-2),o=e.doc.resolve(i).node();return!!o&&!!n.includes(o.type.name)},d=(e,t)=>{var n;let{$anchor:r}=t.selection,i=t.doc.resolve(r.pos-2);return 0!==i.index()&&(null==(n=i.nodeBefore)?void 0:n.type.name)===e},p=(e,t,n)=>{if(!n)return!1;let i=(0,r.Pg)(e,t.schema),o=!1;return n.descendants(e=>{e.type===i&&(o=!0)}),o},f=(e,t,n)=>{if(e.commands.undoInputRule())return!0;if(e.state.selection.from!==e.state.selection.to)return!1;if(!(0,r.rU)(e.state,t)&&h(e.state,t,n)){let{$anchor:n}=e.state.selection,r=e.state.doc.resolve(n.before()-1),i=[];r.node().descendants((e,n)=>{e.type.name===t&&i.push({node:e,pos:n})});let o=i.at(-1);if(!o)return!1;let a=e.state.doc.resolve(r.start()+o.pos+1);return e.chain().cut({from:n.start()-1,to:n.end()+1},a.end()).joinForward().run()}if(!(0,r.rU)(e.state,t)||!(0,r.J_)(e.state))return!1;let i=u(t,e.state);if(!i)return!1;let o=e.state.doc.resolve(i.$pos.pos-2).node(i.depth),a=p(t,e.state,o);return d(t,e.state)&&!a?e.commands.joinItemBackward():e.chain().liftListItem(t).run()},m=(e,t)=>{let n=c(e,t),r=u(e,t);return!!r&&!!n&&n>r.depth},g=(e,t)=>{let n=c(e,t),r=u(e,t);return!!r&&!!n&&n{if(!(0,r.rU)(e.state,t)||!(0,r.QN)(e.state,t))return!1;let{selection:n}=e.state,{$from:i,$to:o}=n;return!(!n.empty&&i.sameParent(o))&&(m(t,e.state)?e.chain().focus(e.state.selection.from+4).lift(t).joinBackward().run():g(t,e.state)?e.chain().joinForward().joinBackward().run():e.commands.joinItemForward())},v=(e,t)=>{var n;let{$anchor:r}=t.selection,i=t.doc.resolve(r.pos-r.parentOffset-2);return i.index()!==i.parent.childCount-1&&(null==(n=i.nodeAfter)?void 0:n.type.name)===e},b=r.YY.create({name:"listKeymap",addOptions:()=>({listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}),addKeyboardShortcuts(){return{Delete:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{void 0!==e.state.schema.nodes[n]&&y(e,n)&&(t=!0)}),t},"Mod-Delete":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n})=>{void 0!==e.state.schema.nodes[n]&&y(e,n)&&(t=!0)}),t},Backspace:({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{void 0!==e.state.schema.nodes[n]&&f(e,n,r)&&(t=!0)}),t},"Mod-Backspace":({editor:e})=>{let t=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{void 0!==e.state.schema.nodes[n]&&f(e,n,r)&&(t=!0)}),t}}}}),w=/^(\s*)(\d+)\.\s+(.*)$/,x=/^\s/,_="textStyle",k=/^(\d+)\.\s$/,E=r.bP.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:e}){let{start:t,...n}=e;return 1===t?["ol",(0,r.KV)(this.options.HTMLAttributes,n),0]:["ol",(0,r.KV)(this.options.HTMLAttributes,e),0]},markdownTokenName:"list",parseMarkdown:(e,t)=>{if("list"!==e.type||!e.ordered)return[];let n=e.start||1,r=e.items?function(e,t){return e.map(e=>{if("list_item"!==e.type)return t.parseChildren([e])[0];let n=[];return e.tokens&&e.tokens.length>0&&e.tokens.forEach(e=>{if("paragraph"===e.type||"list"===e.type||"blockquote"===e.type||"code"===e.type)n.push(...t.parseChildren([e]));else if("text"===e.type&&e.tokens){let r=t.parseChildren([e]);n.push({type:"paragraph",content:r})}else{let r=t.parseChildren([e]);r.length>0&&n.push(...r)}}),{type:"listItem",content:n}})}(e.items,t):[];return 1!==n?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownTokenizer:{name:"orderedList",level:"block",start:e=>{let t=e.match(/^(\s*)(\d+)\.\s+/),n=null==t?void 0:t.index;return void 0!==n?n:-1},tokenize:(e,t,n)=>{var r;let i=e.split("\n"),[o,a]=function(e){let t=[],n=0,r=0;for(;nn;)p.push(t[d]),d+=1;if(p.length>0){let t=Math.min(...p.map(e=>e.indent)),n=e(p,t,r);c.push({type:"list",ordered:!0,start:p[0].number,items:n,raw:p.map(e=>e.raw).join("\n")})}o.push({type:"list_item",raw:s.raw,tokens:c}),a=d}else a+=1}return o}(o,0,n);if(0!==s.length)return{type:"list",ordered:!0,start:(null==(r=o[0])?void 0:r.number)||1,items:s,raw:i.slice(0,a).join("\n")}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(_)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=(0,r.tG)({find:k,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=(0,r.tG)({find:k,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(_)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[e]}}),A=/^\s*(\[([( |x])?\])\s$/,S=r.bP.create({name:"taskItem",addOptions:()=>({nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}),content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes:()=>({checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{let t=e.getAttribute("data-checked");return""===t||"true"===t},renderHTML:e=>({"data-checked":e.checked})}}),parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",(0,r.KV)(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(e,t)=>{let n=[];if(e.tokens&&e.tokens.length>0?n.push(t.createNode("paragraph",{},t.parseInline(e.tokens))):e.text?n.push(t.createNode("paragraph",{},[t.createNode("text",{text:e.text})])):n.push(t.createNode("paragraph",{},[])),e.nestedTokens&&e.nestedTokens.length>0){let r=t.parseChildren(e.nestedTokens);n.push(...r)}return t.createNode("taskItem",{checked:e.checked||!1},n)},renderMarkdown:(e,t)=>{var n;let i=(null==(n=e.attrs)?void 0:n.checked)?"x":" ",o=`- [${i}] `;return(0,r.kj)(e,t,o)},addKeyboardShortcuts(){let e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{let i=document.createElement("li"),o=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div"),u=e=>{var t,n;s.ariaLabel=(null==(n=null==(t=this.options.a11y)?void 0:t.checkboxLabel)?void 0:n.call(t,e,s.checked))||`Task item checkbox for ${e.textContent||"empty task item"}`};return u(e),o.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",e=>e.preventDefault()),s.addEventListener("change",t=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}let{checked:i}=t.target;r.isEditable&&"function"==typeof n&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:e})=>{let t=n();if("number"!=typeof t)return!1;let r=e.doc.nodeAt(t);return e.setNodeMarkup(t,void 0,{...null==r?void 0:r.attrs,checked:i}),!0}).run(),r.isEditable||!this.options.onReadOnlyChecked||this.options.onReadOnlyChecked(e,i)||(s.checked=!s.checked)}),Object.entries(this.options.HTMLAttributes).forEach(([e,t])=>{i.setAttribute(e,t)}),i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,o.append(s,a),i.append(o,l),Object.entries(t).forEach(([e,t])=>{i.setAttribute(e,t)}),{dom:i,contentDOM:l,update:e=>e.type===this.type&&(i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,u(e),!0)}}},addInputRules(){return[(0,r.tG)({find:A,type:this.type,getAttributes:e=>({checked:"x"===e[e.length-1]})})]}}),C=r.bP.create({name:"taskList",addOptions:()=>({itemTypeName:"taskItem",HTMLAttributes:{}}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",(0,r.KV)(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},parseMarkdown:(e,t)=>t.createNode("taskList",{},t.parseChildren(e.items||[])),renderMarkdown:(e,t)=>e.content?t.renderChildren(e.content,"\n"):"",markdownTokenizer:{name:"taskList",level:"block",start(e){var t;let n=null==(t=e.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))?void 0:t.index;return void 0!==n?n:-1},tokenize(e,t,n){let i=e=>{let t=(0,r.Dd)(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:"x"===e[3].toLowerCase()}),createToken:(e,t)=>({type:"taskItem",raw:"",mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:i},n);return t?[{type:"taskList",raw:t.raw,items:t.items}]:n.blockTokens(e)},o=(0,r.Dd)(e,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:e=>({indentLevel:e[1].length,mainContent:e[4],checked:"x"===e[3].toLowerCase()}),createToken:(e,t)=>({type:"taskItem",raw:"",mainContent:e.mainContent,indentLevel:e.indentLevel,checked:e.checked,text:e.mainContent,tokens:n.inlineTokens(e.mainContent),nestedTokens:t}),customNestedParser:i},n);if(o)return{type:"taskList",raw:o.raw,items:o.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});r.YY.create({name:"listKit",addExtensions(){let e=[];return!1!==this.options.bulletList&&e.push(s.configure(this.options.bulletList)),!1!==this.options.listItem&&e.push(l.configure(this.options.listItem)),!1!==this.options.listKeymap&&e.push(b.configure(this.options.listKeymap)),!1!==this.options.orderedList&&e.push(E.configure(this.options.orderedList)),!1!==this.options.taskItem&&e.push(S.configure(this.options.taskItem)),!1!==this.options.taskList&&e.push(C.configure(this.options.taskList)),e}})},8605:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>l,SK:()=>p,JT:()=>h,Sl:()=>u,_E:()=>d,CC:()=>c});var r=n(55729);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=n(67584),a=n(81705);let s=Symbol("default");function l({values:e,children:t}){for(let[n,i]of e)t=r.createElement(n.Provider,{value:i},t);return t}function u(e){let{className:t,style:n,children:i,defaultClassName:o,defaultChildren:a,defaultStyle:s,values:l}=e;return(0,r.useMemo)(()=>{let e,r,u;return e="function"==typeof t?t({...l,defaultClassName:o}):t,r="function"==typeof n?n({...l,defaultStyle:s||{}}):n,u="function"==typeof i?i({...l,defaultChildren:a}):null==i?a:i,{className:null!=e?e:o,style:r||s?{...s,...r}:void 0,children:null!=u?u:a,"data-rac":""}},[t,n,i,o,a,s,l])}function c(e,t){let n=(0,r.useContext)(e);if(null===t)return null;if(n&&"object"==typeof n&&"slots"in n&&n.slots){let e=t||s;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:"A slot prop is required.";throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function h(e,t,n){let{ref:a,...s}=c(n,e.slot)||{},l=function(e){let t=(0,r.useRef)(null),n=(0,r.useRef)(void 0),i=(0,r.useCallback)(t=>{if("function"==typeof e){let n=e(t);return()=>{"function"==typeof n?n():e(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,r.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,n.current&&(n.current(),n.current=void 0),null!=value&&(n.current=i(value))}}),[i])}((0,r.useMemo)(()=>(function(...e){return 1===e.length&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||(n="function"==typeof r),r});if(n)return()=>{r.forEach((t,n)=>{"function"==typeof t?t():i(e[n],null)})}}})(t,a),[t,a])),u=(0,o.v)(s,e);return"style"in s&&s.style&&"style"in e&&e.style&&("function"==typeof s.style||"function"==typeof e.style?u.style=t=>{let n="function"==typeof s.style?s.style(t):s.style,r={...t.defaultStyle,...n},i="function"==typeof e.style?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:u.style={...s.style,...e.style}),[u,l]}function d(e=!0){let[t,n]=(0,r.useState)(e),i=(0,r.useRef)(!1),o=(0,r.useCallback)(e=>{i.current=!0,n(!!e)},[]);return(0,a.N)(()=>{i.current||n(!1)},[]),[o,t]}function p(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}},8610:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={top:"top",left:"left",right:"right",bottom:"bottom"}},8868:(e,t,n)=>{"use strict";function r(e,t){let n=function(e){let t=parseFloat(e);return"number"!=typeof t||Number.isNaN(t)?0:t}(e),r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function i(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}function o(e,t,n){return(e-t)*100/(n-t)}function a(e,t,n){return(n-t)*e+t}function s(e,t,n){return r(Math.round((e-t)/n)*n+t,i(n))}function l(e,t,n){return null==e?e:(ni,L3:()=>l,QX:()=>r,hp:()=>s,w5:()=>o,wr:()=>a})},8995:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(56121),i=n.n(r),o=n(55729),a=n(75828),s=n.n(a),l=["top","left","transform","className","children","innerRef"];function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,l);return o.createElement("g",u({ref:c,className:s()("visx-group",i),transform:r||"translate("+(void 0===n?0:n)+", "+(void 0===t?0:t)+")"},h),a)}c.propTypes={top:i().number,left:i().number,transform:i().string,className:i().string,children:i().node,innerRef:i().oneOfType([i().string,i().func,i().object])}},8997:(e,t,n)=>{"use strict";n.d(t,{Od:()=>l,Rb:()=>s,Tj:()=>a,bp:()=>h,wG:()=>c,xL:()=>u});var r=n(12549),i=n(21317),o=n(80794);let a=e=>(t,n,i,a)=>{let s=i?Object.assign(i,{async:!1}):{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new r.GT;if(l.issues.length){let t=new(a?.Err??e)(l.issues.map(e=>o.iR(e,s,r.$W())));throw o.gx(t,a?.callee),t}return l.value};i.Kd;let s=e=>async(t,n,i,a)=>{let s=i?Object.assign(i,{async:!0}):{async:!0},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise&&(l=await l),l.issues.length){let t=new(a?.Err??e)(l.issues.map(e=>o.iR(e,s,r.$W())));throw o.gx(t,a?.callee),t}return l.value};i.Kd;let l=e=>(t,n,a)=>{let s=a?{...a,async:!1}:{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new r.GT;return l.issues.length?{success:!1,error:new(e??i.a$)(l.issues.map(e=>o.iR(e,s,r.$W())))}:{success:!0,data:l.value}},u=l(i.Kd),c=e=>async(t,n,i)=>{let a=i?Object.assign(i,{async:!0}):{async:!0},s=t._zod.run({value:n,issues:[]},a);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(e=>o.iR(e,a,r.$W())))}:{success:!0,data:s.value}},h=c(i.Kd)},9307:(e,t,n)=>{"use strict";n.d(t,{A:()=>function e(t,n,o,a){function s(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},s.round=function(e){var t=s(e),n=s.ceil(e);return e-t0))return a;do a.push(o=new Date(+e)),n(e,i),t(e);while(o=e)for(;t(e),!r(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})},o&&(s.count=function(e,n){return r.setTime(+e),i.setTime(+n),t(r),t(i),Math.floor(o(r,i))},s.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}});var r=new Date,i=new Date},9585:(e,t,n)=>{"use strict";n.d(t,{sk:()=>f});var r=n(91081),i=n(55729);let o=(0,i.createContext)(null),a=(0,i.createContext)(null);var s=n(8605),l=n(51192);function u(e){return(0,i.useMemo)(()=>{if("string"==typeof e)try{return(0,l.H0)(e)}catch{return}return e},[e])}var c=n(92612),h=n(67584);let d=(0,i.createContext)(null),p=(0,i.createContext)(null);function f(e){let t=(0,s.CC)(d,e.slot),n=function(e){let t=u(e.value),n=u(e.defaultValue||"#000000"),[r,i]=(0,c.P)(t||void 0,n,e.onChange);return{color:r,setColor(e){null!=e&&i(e||(0,l.H0)("#000000"))}}}(e=(0,h.v)(t,e)),f=(0,s.Sl)({...e,values:{color:n.color}});return i.createElement(s.Kq,{values:[[p,n],[r._0,{value:n.color,onChange:n.setColor}],[r.UF,{value:n.color,onChange:n.setColor}],[r.w_,{value:n.color,onChange:n.setColor}],[r.vi,{value:n.color,onChange:n.setColor}],[o,{color:n.color}],[a,{value:n.color,onChange:n.setColor}]]},f.children)}},9613:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(55729);function i(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}},9667:function(e,t){(function(e){"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(e,t,n,r){e=e.filter(function(e,r){var i=t(e,r),o=n(e,r);return null!=i&&isFinite(i)&&null!=o&&isFinite(o)}),r&&e.sort(function(e,n){return t(e)-t(n)});for(var i,o,a,s=e.length,l=new Float64Array(s),u=new Float64Array(s),c=0,h=0,d=0;da&&(e.splice(i+1,0,d),r=!0)}return r}(s)&&l<1e4;);return s}function s(e,t,n,r){var i=r-e*e,o=1e-24>Math.abs(i)?0:(n-e*t)/i;return[t-o*e,o]}function l(){var e,n=function(e){return e[0]},o=function(e){return e[1]};function a(a){var l=0,u=0,c=0,h=0,d=0,p=e?+e[0]:1/0,f=e?+e[1]:-1/0;r(a,n,o,function(t,n){++l,u+=(t-u)/l,c+=(n-c)/l,h+=(t*n-h)/l,d+=(t*t-d)/l,!e&&(tf&&(f=t))});var m=t(s(u,c,h,d),2),g=m[0],y=m[1],v=function(e){return y*e+g},b=[[p,v(p)],[f,v(f)]];return b.a=y,b.b=g,b.predict=v,b.rSquared=i(a,n,o,c,v),b}return a.domain=function(t){return arguments.length?(e=t,a):e},a.x=function(e){return arguments.length?(n=e,a):n},a.y=function(e){return arguments.length?(o=e,a):o},a}function u(){var e,o=function(e){return e[0]},s=function(e){return e[1]};function l(l){var u,c,h,d,p=t(n(l,o,s),4),f=p[0],m=p[1],g=p[2],y=p[3],v=f.length,b=0,w=0,x=0,_=0,k=0;for(u=0;uC&&(C=t))});var T=x-b*b,M=b*T-w*w,P=(k*b-_*w)/M,O=(_*T-k*w)/M,D=-P*b,I=function(e){return P*(e-=g)*e+O*e+D+y},N=a(S,C,I);return N.a=P,N.b=O-2*P*g,N.c=D-O*g+P*g*g+y,N.predict=I,N.rSquared=i(l,o,s,E,I),N}return l.domain=function(t){return arguments.length?(e=t,l):e},l.x=function(e){return arguments.length?(o=e,l):o},l.y=function(e){return arguments.length?(s=e,l):s},l}e.regressionExp=function(){var e,n=function(e){return e[0]},o=function(e){return e[1]};function l(l){var u=0,c=0,h=0,d=0,p=0,f=0,m=e?+e[0]:1/0,g=e?+e[1]:-1/0;r(l,n,o,function(t,n){var r=Math.log(n),i=t*n;++u,c+=(n-c)/u,d+=(i-d)/u,f+=(t*i-f)/u,h+=(n*r-h)/u,p+=(i*r-p)/u,!e&&(tg&&(g=t))});var y=t(s(d/c,h/c,p/c,f/c),2),v=y[0],b=y[1];v=Math.exp(v);var w=function(e){return v*Math.exp(b*e)},x=a(m,g,w);return x.a=v,x.b=b,x.predict=w,x.rSquared=i(l,n,o,c,w),x}return l.domain=function(t){return arguments.length?(e=t,l):e},l.x=function(e){return arguments.length?(n=e,l):n},l.y=function(e){return arguments.length?(o=e,l):o},l},e.regressionLinear=l,e.regressionLoess=function(){var e=function(e){return e[0]},r=function(e){return e[1]},i=.3;function o(o){for(var a=t(n(o,e,r,!0),4),l=a[0],u=a[1],c=a[2],h=a[3],d=l.length,p=Math.max(2,~~(i*d)),f=new Float64Array(d),m=new Float64Array(d),g=new Float64Array(d).fill(1),y=-1;++y<=2;){for(var v=[0,p-1],b=0;bl[_]-w?x:_,E=0,A=0,S=0,C=0,T=0,M=1/Math.abs(l[k]-w||1),P=x;P<=_;++P){var O,D=l[P],I=u[P],N=(O=1-(O=Math.abs(w-D)*M)*O*O)*O*O*g[P],R=D*N;E+=N,A+=R,S+=I*N,C+=I*R,T+=D*R}var L=t(s(A/E,S/E,C/E,T/E),2),B=L[0],F=L[1];f[b]=B+F*w,m[b]=Math.abs(u[b]-f[b]),function(e,t,n){var r=e[t],i=n[0],o=n[1]+1;if(!(o>=e.length))for(;t>i&&e[o]-r<=r-e[i];)n[0]=++i,n[1]=o,++o}(l,b+1,v)}if(2===y)break;var j=function(e){e.sort(function(e,t){return e-t});var t=e.length/2;return t%1==0?(e[t-1]+e[t])/2:e[Math.floor(t)]}(m);if(1e-12>Math.abs(j))break;for(var U,z,$=0;$=1?1e-12:(z=1-U*U)*z}return function(e,t,n,r){for(var i,o=e.length,a=[],s=0,l=0,u=[];sg&&(g=t))});var v=t(s(h,d,p,f),2),b=v[0],w=v[1],x=function(e){return w*Math.log(e)/y+b},_=a(m,g,x);return _.a=w,_.b=b,_.predict=x,_.rSquared=i(u,n,o,d,x),_}return u.domain=function(t){return arguments.length?(e=t,u):e},u.x=function(e){return arguments.length?(n=e,u):n},u.y=function(e){return arguments.length?(o=e,u):o},u.base=function(e){return arguments.length?(l=e,u):l},u},e.regressionPoly=function(){var e,o=function(e){return e[0]},s=function(e){return e[1]},c=3;function h(h){if(1===c){var d,p,f,m,g,y=l().x(o).y(s).domain(e)(h);return y.coefficients=[y.b,y.a],delete y.a,delete y.b,y}if(2===c){var v=u().x(o).y(s).domain(e)(h);return v.coefficients=[v.c,v.b,v.a],delete v.a,delete v.b,delete v.c,v}var b=t(n(h,o,s),4),w=b[0],x=b[1],_=b[2],k=b[3],E=w.length,A=[],S=[],C=c+1,T=0,M=0,P=e?+e[0]:1/0,O=e?+e[1]:-1/0;for(r(h,o,s,function(t,n){++M,T+=(n-T)/M,!e&&(tO&&(O=t))}),d=0;dMath.abs(e[t][i])&&(i=n);for(r=t;r=t;r--)e[r][n]-=e[r][t]*e[t][n]/e[t][t]}for(n=a-1;n>=0;--n){for(o=0,r=n+1;r=0;--i)for(a=t[i],s=1,l[i]+=a,o=1;o<=i;++o)s*=(i+1-o)/o,l[i-o]+=a*Math.pow(n,o)*s;return l[0]+=r,l}(C,D,-_,k),N.predict=I,N.rSquared=i(h,o,s,T,I),N}return h.domain=function(t){return arguments.length?(e=t,h):e},h.x=function(e){return arguments.length?(o=e,h):o},h.y=function(e){return arguments.length?(s=e,h):s},h.order=function(e){return arguments.length?(c=e,h):c},h},e.regressionPow=function(){var e,n=function(e){return e[0]},o=function(e){return e[1]};function l(l){var u=0,c=0,h=0,d=0,p=0,f=0,m=e?+e[0]:1/0,g=e?+e[1]:-1/0;r(l,n,o,function(t,n){var r=Math.log(t),i=Math.log(n);++u,c+=(r-c)/u,h+=(i-h)/u,d+=(r*i-d)/u,p+=(r*r-p)/u,f+=(n-f)/u,!e&&(tg&&(g=t))});var y=t(s(c,h,d,p),2),v=y[0],b=y[1];v=Math.exp(v);var w=function(e){return v*Math.pow(e,b)},x=a(m,g,w);return x.a=v,x.b=b,x.predict=w,x.rSquared=i(l,n,o,f,w),x}return l.domain=function(t){return arguments.length?(e=t,l):e},l.x=function(e){return arguments.length?(n=e,l):n},l.y=function(e){return arguments.length?(o=e,l):o},l},e.regressionQuad=u,Object.defineProperty(e,"__esModule",{value:!0})})(t)},9819:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},10010:(e,t,n)=>{"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(72012),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10013:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(51803);function i(e,t,n){let i=Math.max(t-5,0);return(0,r.f)(n-e(i),t-i)}},10016:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(l>=0&&u>0){for(r=[],o=n.length;c>=0&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())=0?l:u;r.length&&(s=[o,a])}return s}e.exports=t,t.range=r},10095:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(11116);function i(e,t){return te?1:t>=e?0:NaN}function o(e){return e}var a=n(1714);function s(){var e=o,t=i,n=null,s=(0,r.A)(0),l=(0,r.A)(a.FA),u=(0,r.A)(0);function c(r){var i,o,c,h,d,p=r.length,f=0,m=Array(p),g=Array(p),y=+s.apply(this,arguments),v=Math.min(a.FA,Math.max(-a.FA,l.apply(this,arguments)-y)),b=Math.min(Math.abs(v)/p,u.apply(this,arguments)),w=b*(v<0?-1:1);for(i=0;i0&&(f+=d);for(null!=t?m.sort(function(e,n){return t(g[e],g[n])}):null!=n&&m.sort(function(e,t){return n(r[e],r[t])}),i=0,c=f?(v-p*w)/f:0;i0?d*c:0)+w,g[o]={data:r[o],index:i,value:d,startAngle:y,endAngle:h,padAngle:b};return g}return c.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.A)(+t),c):e},c.sortValues=function(e){return arguments.length?(t=e,n=null,c):t},c.sort=function(e){return arguments.length?(n=e,t=null,c):n},c.startAngle=function(e){return arguments.length?(s="function"==typeof e?e:(0,r.A)(+e),c):s},c.endAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,r.A)(+e),c):l},c.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,r.A)(+e),c):u},c}},10140:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(30758)._(n(55729)).default.createContext(null)},10500:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6029);let i=(0,n(30477).w)({viewBox:"0 0 14 14",path:(0,r.jsx)("g",{fill:"currentColor",children:(0,r.jsx)("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})})},10714:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},10854:(e,t,n)=>{"use strict";n.d(t,{D:()=>a});var r=n(73768),i=n(91);let o={...n(85569).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p},a=e=>o[e]},10873:(e,t,n)=>{"use strict";n.d(t,{$x:()=>a,Ei:()=>l,IF:()=>o,O4:()=>r,Zo:()=>s});var r,i=n(29008);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var o=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return(0,i.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),r.INVALID_VALUE,o)||this}return(0,i.C6)(t,e),t}(o),s=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,i)||this}return(0,i.C6)(t,e),t}(o),l=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,i.C6)(t,e),t}(o)},10895:(e,t,n)=>{"use strict";n.d(t,{A:()=>U});var r,i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create,Object.create;var a=n(55729),s="right-scroll-bar-position",l="width-before-scroll-bar";function u(e){return e}var c=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=u),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return o.options=i({async:!0,ssr:!1},e),o}(),h=function(){},d=a.forwardRef(function(e,t){var n,r,s,l=a.useRef(null),u=a.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),d=u[0],p=u[1],f=e.forwardProps,m=e.children,g=e.className,y=e.removeScrollBar,v=e.enabled,b=e.shards,w=e.sideCar,x=e.noIsolation,_=e.inert,k=e.allowPinchZoom,E=e.as,A=o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),S=(n=[l,t],r=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(s=(0,a.useState)(function(){return{value:null,callback:r,facade:{get current(){return s.value},set current(value){var e=s.value;e!==value&&(s.value=value,s.callback(value,e))}}}})[0]).callback=r,s.facade),C=i(i({},A),d);return a.createElement(a.Fragment,null,v&&a.createElement(w,{sideCar:c,removeScrollBar:y,shards:b,noIsolation:x,inert:_,setCallbacks:p,allowPinchZoom:!!k,lockRef:l}),f?a.cloneElement(a.Children.only(m),i(i({},C),{ref:S})):a.createElement(void 0===E?"div":E,i({},C,{className:g,ref:S}),m))});d.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},d.classNames={fullWidth:l,zeroRight:s};var p=function(e){var t=e.sideCar,n=o(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return a.createElement(r,i({},n))};p.isSideCarExport=!0;var f=n(40958),m=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=(0,f.m)();return t&&e.setAttribute("nonce",t),e}())){var r,i;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},g=function(){var e=m();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},y=function(){var e=g();return function(t){return e(t.styles,t.dynamic),null}},v={left:0,top:0,right:0,gap:0},b=function(e){return parseInt(e||"",10)||0},w=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[b(n),b(r),b(i)]},x=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return v;var t=w(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},_=y(),k=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(l," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(s," .").concat(s," {\n right: 0 ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},E=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r,o=a.useMemo(function(){return x(i)},[i]);return a.createElement(_,{styles:k(o,!t,i,n?"":"!important")})},A=!1;if("undefined"!=typeof window)try{var S=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",S,S),window.removeEventListener("test",S,S)}catch(e){A=!1}var C=!!A&&{passive:!1},T=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},M=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),P(e,n)){var r=O(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},P=function(e,t){return"v"===e?T(t,"overflowY"):T(t,"overflowX")},O=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},D=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,h=s>0,d=0,p=0;do{var f=O(e,l),m=f[0],g=f[1]-f[2]-a*m;(m||g)&&P(e,l)&&(d+=g,p+=m),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return h&&(i&&0===d||!i&&s>d)?c=!0:!h&&(i&&0===p||!i&&-s>p)&&(c=!0),c},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},N=function(e){return[e.deltaX,e.deltaY]},R=function(e){return e&&"current"in e?e.current:e},L=0,B=[];let F=(r=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),i=a.useState(L++)[0],o=a.useState(function(){return y()})[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;iMath.abs(u)?"h":"v";if("touches"in e&&"h"===h&&"range"===c.type)return!1;var d=M(h,c);if(!d)return!0;if(d?i=h:(i="v"===h?"h":"v",d=M(h,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var p=r.current||i;return D(p,t,e,"h"===p?l:u,!0)},[]),u=a.useCallback(function(e){if(B.length&&B[B.length-1]===o){var n="deltaY"in e?N(e):I(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(s.current.shards||[]).map(R).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=a.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),h=a.useCallback(function(e){n.current=I(e),r.current=void 0},[]),d=a.useCallback(function(t){c(t.type,N(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){c(t.type,I(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return B.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,C),document.addEventListener("touchmove",u,C),document.addEventListener("touchstart",h,C),function(){B=B.filter(function(e){return e!==o}),document.removeEventListener("wheel",u,C),document.removeEventListener("touchmove",u,C),document.removeEventListener("touchstart",h,C)}},[]);var f=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?a.createElement(E,{gapMode:"margin"}):null)},c.useMedium(r),p);var j=a.forwardRef(function(e,t){return a.createElement(d,i({},e,{ref:t,sideCar:F}))});j.classNames=d.classNames;let U=j},11027:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,lG:()=>o,uN:()=>a});var r=n(28816);function i(e,t){return function(n){return e+n*t}}function o(e,t){var n=t-e;return n?i(e,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(e)?t:e)}function a(e){return 1==(e*=1)?s:function(t,n){var i,o,a;return n-t?(i=t,o=n,i=Math.pow(i,a=e),o=Math.pow(o,a)-i,a=1/a,function(e){return Math.pow(i+e*o,a)}):(0,r.A)(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?i(e,n):(0,r.A)(isNaN(e)?t:e)}},11116:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},11186:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=(e,t,n)=>n>t?t:n{"use strict";n.d(t,{C6:()=>i,Cl:()=>o,fX:()=>a});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function l(e){var t={};return 4===e.length&&(t.x2=e[2][0],t.y2=e[2][1]),e.length>=3&&(t.x1=e[1][0],t.y1=e[1][1]),t.x=e[e.length-1][0],t.y=e[e.length-1][1],4===e.length?t.type="C":3===e.length?t.type="Q":t.type="L",t}n.d(t,{xv:()=>f});var u=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,c={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};function h(e,t){for(var n=Array(e),r=0;r0?o-=1:o0&&(o-=1)),t[o]=(t[o]||0)+1,t},[]).reduce(function(t,n,r){if(r===e.length-1){var i=h(n,o({},e[e.length-1]));return"M"===i[0].type&&i.forEach(function(e){e.type="L"}),t.concat(i)}return t.concat(function(e,t,n){var r,i=[];if("L"===t.type||"Q"===t.type||"C"===t.type)i=i.concat((r=[[e.x,e.y]],null!=t.x1&&r.push([t.x1,t.y1]),null!=t.x2&&r.push([t.x2,t.y2]),r.push([t.x,t.y]),(function(e,t){for(var n=[],r=e,i=1/(t=t||2),o=0;o0&&"Z"===o[o.length-1].type&&o.pop(),a.length>0&&"Z"===a[a.length-1].type&&a.pop(),o.length?a.length||a.push(o[0]):o.push(a[0]),0!==Math.abs(a.length-o.length)&&(a.length>o.length?o=d(o,a,u):a.length{"use strict";n.d(t,{U:()=>r,_:()=>i});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},11927:(e,t,n)=>{"use strict";n.d(t,{F3:()=>d,GT:()=>h,J9:()=>s,JF:()=>l,MT:()=>u});var r=n(27932),i=n(46725),o=n(48982),a=n(74315);function s(e,t,n){return void 0===n&&(n={}),t.reduce(function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t},{})}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function h(e){void 0===e&&(e=u());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,o.B)(function(){for(var e,t=[],n=0;n{"use strict";n.d(t,{t:()=>P});var r=n(91081),i=n(3839),o=n(12360),a=n(8605),s=n(76787),l=n(42029),u=n(67584);let c=new WeakMap;function h(e,t){let n=c.get(e);if(!n)throw Error("Unknown slider state");return`${n.id}-${t}`}var d=n(34142),p=n(77785),f=n(55729),m=n(37110),g=n(60852),y=n(62409),v=n(73371),b=n(56213),w=n(78986),x=n(965),_=n(32933),k=n(51192),E=n(92612);function A(e,t,n){return e[t]===n?e:[...e.slice(0,t),n,...e.slice(t+1)]}function S(e){if(null!=e)return Array.isArray(e)?e:[e]}function C(e,t,n){return r=>{"number"==typeof e||"number"==typeof t?null==n||n(r[0]):null==n||n(r)}}var T=n(58429);let M=(0,f.createContext)(null),P=(0,f.forwardRef)(function(e,t){[e,t]=(0,a.JT)(e,t,r._0);let{locale:n}=(0,l.Y)(),P=function(e){let{channel:t,colorSpace:n,value:r,defaultValue:i,onChange:o,locale:a,...s}=e;if(null==r&&null==i)throw Error("useColorSliderState requires a value or defaultValue");r&&(r=(0,k.$2)(r)),i&&(i=(0,k.$2)(i));let[l,u]=(0,E.P)(r,i,o),c=(0,f.useMemo)(()=>n&&l?l.toFormat(n):l,[l,n]),[h]=(0,f.useState)(l),d=null!=i?i:h,m=(0,f.useMemo)(()=>n&&d?d.toFormat(n):d,[d,n]),g=function(e){let{isDisabled:t=!1,minValue:n=0,maxValue:r=100,numberFormatter:i,step:o=1,orientation:a="horizontal"}=e,s=(0,f.useMemo)(()=>{let e=(r-n)/10;return Math.max(e=(0,p.BU)(e,0,e+o,o),o)},[o,r,n]),l=(0,f.useCallback)(e=>null==e?void 0:e.map((t,i)=>{let a=0===i?n:e[i-1],s=i===e.length-1?r:e[i+1];return(0,p.BU)(t,a,s,o)}),[n,r,o]),u=(0,f.useMemo)(()=>l(S(e.value)),[e.value,l]),c=(0,f.useMemo)(()=>{var t;return l(null!=(t=S(e.defaultValue))?t:[n])},[e.defaultValue,n,l]),h=C(e.value,e.defaultValue,e.onChange),d=C(e.value,e.defaultValue,e.onChangeEnd),[m,g]=(0,E.P)(u,c,h),[y]=(0,f.useState)(m),[v,b]=(0,f.useState)(Array(m.length).fill(!1)),w=(0,f.useRef)(Array(m.length).fill(!0)),[x,_]=(0,f.useState)(void 0),k=(0,f.useRef)(m),T=(0,f.useRef)(v);function M(e){return(e-n)/(r-n)}function P(e){return 0===e?n:m[e-1]}function O(e){return e===m.length-1?r:m[e+1]}function D(e){return w.current[e]}function I(e,n){if(t||!D(e))return;let r=P(e),i=O(e);n=(0,p.BU)(n,r,i,o);let a=A(k.current,e,n);k.current=a,g(a)}function N(e){return i.format(e)}function R(e){let t=e*(r-n)+n;return(0,p.qE)(Math.round((t-n)/o)*o+n,n,r)}return{values:m,defaultValues:void 0!==e.defaultValue?c:y,getThumbValue:e=>m[e],setThumbValue:I,setThumbPercent:function(e,t){I(e,R(t))},isThumbDragging:e=>v[e],setThumbDragging:function(e,n){var r;if(t||!D(e))return;n&&(k.current=m);let i=T.current[e];T.current=A(T.current,e,n),r=T.current,T.current=r,b(r),d&&i&&!T.current.some(Boolean)&&d(k.current)},focusedThumb:x,setFocusedThumb:_,getThumbPercent:e=>M(m[e]),getValuePercent:M,getThumbValueLabel:e=>N(m[e]),getFormattedValue:N,getThumbMinValue:P,getThumbMaxValue:O,getPercentValue:R,isThumbEditable:D,setThumbEditable:function(e,t){w.current[e]=t},incrementThumb:function(e,t=1){let i=Math.max(t,o);I(e,(0,p.BU)(m[e]+i,n,r,o))},decrementThumb:function(e,t=1){let i=Math.max(t,o);I(e,(0,p.BU)(m[e]-i,n,r,o))},step:o,pageSize:s,orientation:a,isDisabled:t}}({...c.getChannelRange(t),...s,numberFormatter:null,value:c.getChannelValue(t),defaultValue:m.getChannelValue(t),onChange(e){u(c.withChannelValue(t,e))},onChangeEnd(n){e.onChangeEnd&&e.onChangeEnd(c.withChannelValue(t,n))}}),{step:y,pageSize:v}=c.getChannelRange(t);return{...g,value:c,setValue(e){u((0,k.$2)(e))},getDisplayColor(){switch(t){case"hue":return(0,k.H0)(`hsl(${c.getChannelValue("hue")}, 100%, 50%)`);case"lightness":case"brightness":case"saturation":case"red":case"green":case"blue":return c.withChannelValue("alpha",1);case"alpha":return c;default:throw Error("Unknown color channel: "+t)}},getThumbValueLabel:()=>c.formatChannelValue(t,a),step:y,pageSize:v,isDragging:g.isThumbDragging(0)}}({...e,locale:n}),O=f.useRef(null),D=f.useRef(null),[I,N]=(0,a._E)(!e["aria-label"]&&!e["aria-labelledby"]),{trackProps:R,thumbProps:L,inputProps:B,labelProps:F,outputProps:j}=function(e,t){let{trackRef:n,inputRef:r,orientation:i,channel:o,"aria-label":a,name:s,form:k}=e,{locale:E,direction:A}=(0,l.Y)();e.label||a||e["aria-labelledby"]||(a=t.value.getChannelName(o,E));let{groupProps:S,trackProps:C,labelProps:T,outputProps:M}=function(e,t,n){var r;let{labelProps:i,fieldProps:o}=(0,y.M)(e),a="vertical"===e.orientation;c.set(t,{id:null!=(r=i.id)?r:o.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:s}=(0,l.Y)(),{addGlobalListener:v,removeGlobalListener:b}=(0,d.A)(),w=(0,f.useRef)(null),x="rtl"===s,_=(0,f.useRef)(null),{moveProps:k}=(0,m.f)({onMoveStart(){_.current=null},onMove({deltaX:e,deltaY:r}){if(!n.current)return;let{height:i,width:o}=n.current.getBoundingClientRect(),s=a?i:o;null==_.current&&null!=w.current&&(_.current=t.getThumbPercent(w.current)*s);let l=a?r:e;if((a||x)&&(l=-l),_.current+=l,null!=w.current&&n.current){let e=(0,p.qE)(_.current/s,0,1);t.setThumbPercent(w.current,e)}},onMoveEnd(){null!=w.current&&(t.setThumbDragging(w.current,!1),w.current=null)}}),E=(0,f.useRef)(void 0),A=(r,i,o,l)=>{if(n.current&&!e.isDisabled&&t.values.every((e,n)=>!t.isThumbDragging(n))){let e,{height:u,width:c,top:h,left:d}=n.current.getBoundingClientRect(),p=((a?l:o)-(a?h:d))/(a?u:c);("rtl"===s||a)&&(p=1-p);let f=t.getPercentValue(p),m=t.values.findIndex(e=>f-e<0);(e=0===m?m:-1===m?t.values.length-1:Math.abs(t.values[m-1]-f)=0&&t.isThumbEditable(e)?(r.preventDefault(),w.current=e,t.setFocusedThumb(e),E.current=i,t.setThumbDragging(w.current,!0),t.setThumbValue(e,f),v(window,"mouseup",S,!1),v(window,"touchend",S,!1),v(window,"pointerup",S,!1)):w.current=null}},S=e=>{var n,r;(null!=(r=e.pointerId)?r:null==(n=e.changedTouches)?void 0:n[0].identifier)===E.current&&(null!=w.current&&(t.setThumbDragging(w.current,!1),w.current=null),b(window,"mouseup",S,!1),b(window,"touchend",S,!1),b(window,"pointerup",S,!1))};return"htmlFor"in i&&i.htmlFor&&(delete i.htmlFor,i.onClick=()=>{var e;null==(e=document.getElementById(h(t,0)))||e.focus(),(0,g.Cl)("keyboard")}),{labelProps:i,groupProps:{role:"group",...o},trackProps:(0,u.v)({onMouseDown(e){0!==e.button||e.altKey||e.ctrlKey||e.metaKey||A(e,void 0,e.clientX,e.clientY)},onPointerDown(e){"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||A(e,e.pointerId,e.clientX,e.clientY)},onTouchStart(e){A(e,e.changedTouches[0].identifier,e.changedTouches[0].clientX,e.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},k),outputProps:{htmlFor:t.values.map((e,n)=>h(t,n)).join(" "),"aria-live":"off"}}}({...e,"aria-label":a},t,n),{inputProps:P,thumbProps:O}=function(e,t){var n;let{index:r=0,isRequired:i,validationState:o,isInvalid:a,trackRef:s,inputRef:g,orientation:_=t.orientation,name:k,form:E}=e,A=e.isDisabled||t.isDisabled,S="vertical"===_,{direction:C}=(0,l.Y)(),{addGlobalListener:T,removeGlobalListener:M}=(0,d.A)(),P=c.get(t),{labelProps:O,fieldProps:D}=(0,y.M)({...e,id:h(t,r),"aria-labelledby":`${P.id} ${null!=(n=e["aria-labelledby"])?n:""}`.trim()}),I=t.values[r],N=(0,f.useCallback)(()=>{g.current&&(0,v.e)(g.current)},[g]),R=t.focusedThumb===r;(0,f.useEffect)(()=>{R&&N()},[R,N]);let L="rtl"===C,B=(0,f.useRef)(null),{keyboardProps:F}=(0,w.d)({onKeyDown(e){let{getThumbMaxValue:n,getThumbMinValue:i,decrementThumb:o,incrementThumb:a,setThumbValue:s,setThumbDragging:l,pageSize:u}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(e.key))return void e.continuePropagation();switch(e.preventDefault(),l(r,!0),e.key){case"PageUp":a(r,u);break;case"PageDown":o(r,u);break;case"Home":s(r,i(r));break;case"End":s(r,n(r))}l(r,!1)}}),{moveProps:j}=(0,m.f)({onMoveStart(){B.current=null,t.setThumbDragging(r,!0)},onMove({deltaX:e,deltaY:n,pointerType:i,shiftKey:o}){let{getThumbPercent:a,setThumbPercent:l,decrementThumb:u,incrementThumb:c,step:h,pageSize:d}=t;if(!s.current)return;let{width:f,height:m}=s.current.getBoundingClientRect(),g=S?m:f;if(null==B.current&&(B.current=a(r)*g),"keyboard"===i)e>0&&L||e<0&&!L||n>0?u(r,o?d:h):c(r,o?d:h);else{let t=S?n:e;(S||L)&&(t=-t),B.current+=t,l(r,(0,p.qE)(B.current/g,0,1))}},onMoveEnd(){t.setThumbDragging(r,!1)}});t.setThumbEditable(r,!A);let{focusableProps:U}=(0,x.Wc)((0,u.v)(e,{onFocus:()=>t.setFocusedThumb(r),onBlur:()=>t.setFocusedThumb(void 0)}),g),z=(0,f.useRef)(void 0),$=e=>{N(),z.current=e,t.setThumbDragging(r,!0),T(window,"mouseup",H,!1),T(window,"touchend",H,!1),T(window,"pointerup",H,!1)},H=e=>{var n,i;(null!=(i=e.pointerId)?i:null==(n=e.changedTouches)?void 0:n[0].identifier)===z.current&&(N(),t.setThumbDragging(r,!1),M(window,"mouseup",H,!1),M(window,"touchend",H,!1),M(window,"pointerup",H,!1))},V=t.getThumbPercent(r);(S||"rtl"===C)&&(V=1-V);let W=A?{}:(0,u.v)(F,j,{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||$()},onPointerDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||$(e.pointerId)},onTouchStart:e=>{$(e.changedTouches[0].identifier)}});return(0,b.F)(g,t.defaultValues[r],e=>{t.setThumbValue(r,e)}),{inputProps:(0,u.v)(U,D,{type:"range",tabIndex:A?void 0:0,min:t.getThumbMinValue(r),max:t.getThumbMaxValue(r),step:t.step,value:I,name:k,form:E,disabled:A,"aria-orientation":_,"aria-valuetext":t.getThumbValueLabel(r),"aria-required":i||void 0,"aria-invalid":a||"invalid"===o||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[P["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[P["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:e=>{t.setThumbValue(r,parseFloat(e.target.value))}}),thumbProps:{...W,style:{position:"absolute",[S?"top":"left"]:`${100*V}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:O,isDragging:t.isThumbDragging(r),isDisabled:A,isFocused:R}}({index:0,orientation:i,isDisabled:e.isDisabled,name:s,form:k,trackRef:n,inputRef:r},t),D=t.getDisplayColor(),I={forcedColorAdjust:"none"};"hue"===o?P["aria-valuetext"]+=`, ${D.getHueName(E)}`:"alpha"!==o&&(P["aria-valuetext"]+=`, ${D.getColorName(E)}`);let{visuallyHiddenProps:N}=(0,_.B)({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return{trackProps:{...(0,u.v)(S,C),style:{...C.style,...I,background:(()=>{let e;switch(e="vertical"===i?"top":"ltr"===A?"right":"left",o){case"hue":{let t=[0,60,120,180,240,300,360].map(e=>D.withChannelValue("hue",e).toString("css")).join(", ");return`linear-gradient(to ${e}, ${t})`}case"lightness":{let n=t.getThumbMinValue(0),r=t.getThumbMaxValue(0),i=D.withChannelValue(o,n).toString("css"),a=D.withChannelValue(o,(r-n)/2).toString("css"),s=D.withChannelValue(o,r).toString("css");return`linear-gradient(to ${e}, ${i}, ${a}, ${s})`}case"saturation":case"brightness":case"red":case"green":case"blue":case"alpha":{let n=D.withChannelValue(o,t.getThumbMinValue(0)).toString("css"),r=D.withChannelValue(o,t.getThumbMaxValue(0)).toString("css");return`linear-gradient(to ${e}, ${n}, ${r})`}default:throw Error("Unknown color channel: "+o)}})()}},inputProps:{...P,style:{...P.style,...N.style}},thumbProps:{...O,style:{...O.style,...I}},labelProps:T,outputProps:M}}({...e,label:N,trackRef:O,inputRef:D},P),U=(0,a.Sl)({...e,values:{orientation:P.orientation,isDisabled:P.isDisabled,state:P},defaultClassName:"react-aria-ColorSlider"}),z=(0,T.$)(e,{global:!0});return delete z.id,f.createElement(a.Kq,{values:[[M,P],[s.iW,P],[s.up,{...R,ref:O}],[s.eU,j],[o.I,{...F,ref:I,children:P.value.getChannelName(e.channel,n)}],[i.C,{state:P,thumbProps:L,inputXRef:D,xInputProps:B,isDisabled:e.isDisabled}]]},f.createElement("div",{...z,...U,ref:t,slot:e.slot||void 0,"data-orientation":P.orientation,"data-disabled":P.isDisabled||void 0}))})},12360:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});let r=(0,n(55729).createContext)({})},12549:(e,t,n)=>{"use strict";function r(e,t,n){function r(n,r){var i;for(let o in Object.defineProperty(n,"_zod",{value:n._zod??{},enumerable:!1}),(i=n._zod).traits??(i.traits=new Set),n._zod.traits.add(e),t(n,r),a.prototype)o in n||Object.defineProperty(n,o,{value:a.prototype[o].bind(n)});n._zod.constr=a,n._zod.def=r}let i=n?.Parent??Object;class o extends i{}function a(e){var t;let i=n?.Parent?new o:this;for(let n of(r(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))n();return i}return Object.defineProperty(o,"name",{value:e}),Object.defineProperty(a,"init",{value:r}),Object.defineProperty(a,Symbol.hasInstance,{value:t=>!!n?.Parent&&t instanceof n.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}n.d(t,{$W:()=>a,GT:()=>i,cr:()=>o,xI:()=>r}),Object.freeze({status:"aborted"}),Symbol("zod_brand");class i extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}let o={};function a(e){return e&&Object.assign(o,e),o}},12731:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16690);function i(e){var t;let n=e,i=e;function o(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n>>1;0>i(e[o],t)?n=o+1:r=o}return n}return 1===e.length&&(n=(t,n)=>e(t)-n,t=e,i=(e,n)=>(0,r.A)(t(e),n)),{left:o,center:function(e,t,r,i){null==r&&(r=0),null==i&&(i=e.length);let a=o(e,t,r,i-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,t,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n>>1;i(e[o],t)>0?r=o:n=o+1}return n}}}},12894:(e,t,n)=>{"use strict";t.__esModule=!0,t.STACK_OFFSET_NAMES=t.STACK_OFFSETS=void 0,t.default=function(e){return e&&i[e]||i.none};var r=n(35070),i={expand:r.stackOffsetExpand,diverging:r.stackOffsetDiverging,none:r.stackOffsetNone,silhouette:r.stackOffsetSilhouette,wiggle:r.stackOffsetWiggle};t.STACK_OFFSETS=i,t.STACK_OFFSET_NAMES=Object.keys(i)},13337:(e,t,n)=>{"use strict";function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}n.d(t,{a:()=>r})},13618:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(45286),i=n(55729),o=n(66048),a=n(27473);function s(e){var t,n=(t=i.useContext(o.ob),(0,a.HM)(t),t),r=n.formatMessage,s=n.textComponent,l=void 0===s?i.Fragment:s,u=e.id,c=e.description,h=e.defaultMessage,d=e.values,p=e.children,f=e.tagName,m=void 0===f?l:f,g=r({id:u,description:c,defaultMessage:h},d,{ignoreTag:e.ignoreTag});return"function"==typeof p?p(Array.isArray(g)?g:[g]):m?i.createElement(m,null,i.Children.toArray(g)):i.createElement(i.Fragment,null,g)}s.displayName="FormattedMessage";var l=i.memo(s,function(e,t){var n=e.values,i=(0,r.Tt)(e,["values"]),o=t.values,s=(0,r.Tt)(t,["values"]);return(0,a.bN)(o,n)&&(0,a.bN)(i,s)});l.displayName="MemoizedFormattedMessage";let u=l},13675:(e,t,n)=>{"use strict";n.d(t,{qg:()=>l,EJ:()=>u,xL:()=>c,bp:()=>h});var r=n(8997),i=n(21317),o=n(12549);let a=(e,t)=>{i.a$.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>i.Wk(e,t)},flatten:{value:t=>i.JM(e,t)},addIssue:{value:t=>e.issues.push(t)},addIssues:{value:t=>e.issues.push(...t)},isEmpty:{get:()=>0===e.issues.length}})};o.xI("ZodError",a);let s=o.xI("ZodError",a,{Parent:Error}),l=r.Tj(s),u=r.Rb(s),c=r.Od(s),h=r.wG(s)},13731:(e,t,n)=>{var r=n(53325),i=n(25725),o=Object.prototype.hasOwnProperty;e.exports=i(function(e,t,n){o.call(e,n)?e[n].push(t):r(e,n,[t])})},13984:e=>{function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var o=r(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,o,a,s,l=n.indexOf(e),u=n.indexOf(t,l+1),c=l;if(l>=0&&u>0){for(r=[],o=n.length;c>=0&&!s;)c==l?(r.push(c),l=n.indexOf(e,c+1)):1==r.length?s=[r.pop(),u]:((i=r.pop())=0?l:u;r.length&&(s=[o,a])}return s}e.exports=t,t.range=r},14080:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{Kq:()=>E,R0:()=>v,yQ:()=>N});var a={};n.r(a),n.d(a,{getItem:()=>_,removeItem:()=>k,setItem:()=>x});var s=n(31808),l=n(17553);class u extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}function c(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var h=0;function d(e){return"__private_"+h+++"_"+e}async function p(e){if(401===e.status)throw new u;let t=e.json();if(e.ok)return t;let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{let e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n}catch{}throw Error(n)}let f=new Map;var m=d("companionHeaders"),g=d("getUrl"),y=d("request");r=Symbol.for("uppy test: getCompanionHeaders");class v{constructor(e,t){Object.defineProperty(this,y,{value:w}),Object.defineProperty(this,g,{value:b}),Object.defineProperty(this,m,{writable:!0,value:void 0}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),c(this,m)[m]=null==t?void 0:t.companionHeaders}setCompanionHeaders(e){c(this,m)[m]=e}[r](){return c(this,m)[m]}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"")}async headers(){return{...{Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${v.VERSION}`},...c(this,m)[m]}}onReceiveResponse(e){let{headers:t}=e,n=this.uppy.getState().companion||{},r=this.opts.companionUrl;t.has("i-am")&&t.get("i-am")!==n[r]&&this.uppy.setState({companion:{...n,[r]:t.get("i-am")}})}async preflight(e){let t=f.get(this.hostname);if(null!=t)return t;let n=["accept","content-type","uppy-auth-token"],r=(async()=>{try{let t=(await fetch(c(this,g)[g](e),{method:"OPTIONS"})).headers.get("access-control-allow-headers");if(null==t||"*"===t)return f.set(this.hostname,n),n;this.uppy.log(`[CompanionClient] adding allowed preflight headers to companion cache: ${this.hostname} ${t}`);let r=t.split(",").map(e=>e.trim().toLowerCase());return f.set(this.hostname,r),r}catch(e){return this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),f.delete(this.hostname),n}})();return f.set(this.hostname,r),r}async preflightAndHeaders(e){let[t,n]=await Promise.all([this.preflight(e),this.headers()]);return Object.fromEntries(Object.entries(n).filter(e=>{let[n]=e;return!!t.includes(n.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${n}`),!1)}))}async get(e,t){return void 0===t&&(t=void 0),"boolean"==typeof t&&(t={skipPostResponse:t}),c(this,y)[y]({...t,path:e})}async post(e,t,n){return void 0===n&&(n=void 0),"boolean"==typeof n&&(n={skipPostResponse:n}),c(this,y)[y]({...n,path:e,method:"POST",data:t})}async delete(e,t,n){return void 0===t&&(t=void 0),"boolean"==typeof n&&(n={skipPostResponse:n}),c(this,y)[y]({...n,path:e,method:"DELETE",data:t})}}function b(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}async function w(e){let{path:t,method:n="GET",data:r,skipPostResponse:i,signal:o}=e;try{let e=await this.preflightAndHeaders(t),a=await (0,s.A)(c(this,g)[g](t),{method:n,signal:o,headers:e,credentials:this.opts.companionCookiesRule||"same-origin",body:r?JSON.stringify(r):null});return i||this.onReceiveResponse(a),p(a)}catch(e){if(null!=e&&e.isAuthError)throw e;throw new l.A(`Could not ${n} ${c(this,g)[g](t)}`,{cause:e})}}function x(e,t){return new Promise(n=>{localStorage.setItem(e,t),n()})}function _(e){return Promise.resolve(localStorage.getItem(e))}function k(e){return new Promise(t=>{localStorage.removeItem(e),t()})}v.VERSION="3.1.1";class E extends v{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}async headers(){let[e,t]=await Promise.all([super.headers(),this.getAuthToken()]),n={};return t&&(n["uppy-auth-token"]=t),this.companionKeysParams&&(n["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...e,...n}}onReceiveResponse(e){super.onReceiveResponse(e);let t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}async ensurePreAuth(){if(this.companionKeysParams&&!this.preAuthToken&&(await this.fetchPreAuthToken(),!this.preAuthToken))throw Error("Could not load authentication data required for third-party login. Please try again later.")}authUrl(e){void 0===e&&(e={});let t=new URLSearchParams(e);return this.preAuthToken&&t.set("uppyPreAuthToken",this.preAuthToken),`${this.hostname}/${this.id}/connect?${t}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}async fetchPreAuthToken(){if(this.companionKeysParams)try{let e=await this.post(`${this.id}/preauth/`,{params:this.companionKeysParams});this.preAuthToken=e.token}catch(e){this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){let n=t.companionAllowedHosts;if("string"!=typeof n&&!Array.isArray(n)&&!(n instanceof RegExp))throw TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||a}}var A=n(51598);function S(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var C=0;function T(e){return"__private_"+C+++"_"+e}var M=T("queued"),P=T("emitter"),O=T("isOpen"),D=T("socket"),I=T("handleMessage");i=Symbol.for("uppy test: getSocket"),o=Symbol.for("uppy test: getQueued");class N{constructor(e){Object.defineProperty(this,M,{writable:!0,value:[]}),Object.defineProperty(this,P,{writable:!0,value:A()}),Object.defineProperty(this,O,{writable:!0,value:!1}),Object.defineProperty(this,D,{writable:!0,value:void 0}),Object.defineProperty(this,I,{writable:!0,value:e=>{try{let t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return S(this,O)[O]}[i](){return S(this,D)[D]}[o](){return S(this,M)[M]}open(){S(this,D)[D]=new WebSocket(this.opts.target),S(this,D)[D].onopen=()=>{for(S(this,O)[O]=!0;S(this,M)[M].length>0&&S(this,O)[O];){let e=S(this,M)[M].shift();this.send(e.action,e.payload)}},S(this,D)[D].onclose=()=>{S(this,O)[O]=!1},S(this,D)[D].onmessage=S(this,I)[I]}close(){var e;null==(e=S(this,D)[D])||e.close()}send(e,t){if(!S(this,O)[O])return void S(this,M)[M].push({action:e,payload:t});S(this,D)[D].send(JSON.stringify({action:e,payload:t}))}on(e,t){S(this,P)[P].on(e,t)}emit(e,t){S(this,P)[P].emit(e,t)}once(e,t){S(this,P)[P].once(e,t)}}},14126:(e,t,n)=>{var r=n(86891),i=n(70917);e.exports=function(e){return r(i(e))}},14287:(e,t,n)=>{"use strict";n.d(t,{Di:()=>y,b8:()=>N,bD:()=>d,eM:()=>A,iM:()=>P,u1:()=>p,u6:()=>x});var r,i,o,a,s,l,u="vercel.ai.error",c=Symbol.for(u),h=class e extends Error{constructor({name:e,message:t,cause:n}){super(t),this[r]=!0,this.name=e,this.cause=n}static isInstance(t){return e.hasMarker(t,u)}static hasMarker(e,t){let n=Symbol.for(t);return null!=e&&"object"==typeof e&&n in e&&"boolean"==typeof e[n]&&!0===e[n]}};r=c;var d=h;function p(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}Symbol.for("vercel.ai.error.AI_APICallError"),Symbol.for("vercel.ai.error.AI_EmptyResponseBodyError");var f="AI_InvalidArgumentError",m=`vercel.ai.error.${f}`,g=Symbol.for(m),y=class extends d{constructor({message:e,cause:t,argument:n}){super({name:f,message:e,cause:t}),this[i]=!0,this.argument=n}static isInstance(e){return d.hasMarker(e,m)}};i=g,Symbol.for("vercel.ai.error.AI_InvalidPromptError"),Symbol.for("vercel.ai.error.AI_InvalidResponseDataError");var v="AI_JSONParseError",b=`vercel.ai.error.${v}`,w=Symbol.for(b),x=class extends d{constructor({text:e,cause:t}){super({name:v,message:`JSON parsing failed: Text: ${e}. Error message: ${p(t)}`,cause:t}),this[o]=!0,this.text=e}static isInstance(e){return d.hasMarker(e,b)}};o=w,Symbol.for("vercel.ai.error.AI_LoadAPIKeyError"),Symbol.for("vercel.ai.error.AI_LoadSettingError"),Symbol.for("vercel.ai.error.AI_NoContentGeneratedError");var _="AI_NoSuchModelError",k=`vercel.ai.error.${_}`,E=Symbol.for(k),A=class extends d{constructor({errorName:e=_,modelId:t,modelType:n,message:r=`No such ${n}: ${t}`}){super({name:e,message:r}),this[a]=!0,this.modelId=t,this.modelType=n}static isInstance(e){return d.hasMarker(e,k)}};a=E,Symbol.for("vercel.ai.error.AI_TooManyEmbeddingValuesForCallError");var S="AI_TypeValidationError",C=`vercel.ai.error.${S}`,T=Symbol.for(C),M=class e extends d{constructor({value:e,cause:t}){super({name:S,message:`Type validation failed: Value: ${JSON.stringify(e)}. Error message: ${p(t)}`,cause:t}),this[s]=!0,this.value=e}static isInstance(e){return d.hasMarker(e,C)}static wrap({value:t,cause:n}){return e.isInstance(n)&&n.value===t?n:new e({value:t,cause:n})}};s=T;var P=M,O="AI_UnsupportedFunctionalityError",D=`vercel.ai.error.${O}`,I=Symbol.for(D),N=class extends d{constructor({functionality:e,message:t=`'${e}' functionality not supported.`}){super({name:O,message:t}),this[l]=!0,this.functionality=e}static isInstance(e){return d.hasMarker(e,D)}};l=I},14430:e=>{e.exports=function(e,t,n,r){for(var i=n-1,o=e.length;++i{"use strict";n.d(t,{M:()=>h});var r=n(40574),i=n(43224),o=n(47130),a=n(48531),s=n(92025),l=n(45155),u=n(85246),c=n(31324);class h extends s.b{constructor(){super(...arguments),this.type="html",this.renderInstance=u.e}readValueFromInstance(e,t){if(r.f.has(t))return this.projection?.isProjecting?(0,i.zs)(t):(0,i.Ib)(e,t);{let n=window.getComputedStyle(e),r=((0,o.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,a.m)(e,t)}build(e,t,n){(0,l.O)(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return(0,c.x)(e,t,n)}}},15071:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});let r=(0,n(30477).w)({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"})},15315:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});let r=e=>e},15565:(e,t,n)=>{var r=n(19515),i=n(24964),o=n(27288);e.exports=function(e){return o(i(e,void 0,r),e+"")}},15613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return a}});let r=n(30758);n(6029),n(55729);let i=r._(n(20954));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let s=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15650:(e,t,n)=>{"use strict";n.d(t,{KN:()=>o,gQ:()=>u,px:()=>a,uj:()=>i,vh:()=>s,vw:()=>l});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),o=r("%"),a=r("px"),s=r("vh"),l=r("vw"),u={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},15695:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=function(){function e(e){var t=e.x,n=e.y;this.x=0,this.y=0,this.x=void 0===t?0:t,this.y=void 0===n?0:n}var t=e.prototype;return t.value=function(){return{x:this.x,y:this.y}},t.toArray=function(){return[this.x,this.y]},e}()},15863:(e,t,n)=>{"use strict";n.d(t,{z:()=>p,R:()=>d});var r=n(6029),i=n(54578),o=n(21938),a=n(55729),s=n(40697),l=n(84535),u=n(45460),c=n(2241);let[h,d]=(0,i.q)({name:"RadioGroupContext",strict:!1}),p=(0,u.R)((e,t)=>{let{colorScheme:n,size:i,variant:u,children:d,className:p,isDisabled:f,isFocusable:m,...g}=e,{value:y,onChange:v,getRootProps:b,name:w,htmlProps:x}=function(e={}){let{onChange:t,value:n,defaultValue:r,name:i,isDisabled:o,isFocusable:u,isNative:c,...h}=e,[d,p]=(0,a.useState)(r||""),f=void 0!==n,m=f?n:d,g=(0,a.useRef)(null),y=(0,a.useCallback)(()=>{let e=g.current;if(!e)return;let t="input:not(:disabled):checked",n=e.querySelector(t);if(n)return void n.focus();t="input:not(:disabled)";let r=e.querySelector(t);r?.focus()},[]),v=(0,a.useId)(),b=`radio-${v}`,w=i||b,x=(0,a.useCallback)(e=>{let n=e&&(0,l.Gv)(e)&&(0,l.Gv)(e.target)?e.target.value:e;f||p(n),t?.(String(n))},[t,f]);return{getRootProps:(0,a.useCallback)((e={},t=null)=>({...e,ref:(0,s.Px)(t,g),role:"radiogroup"}),[]),getRadioProps:(0,a.useCallback)((e={},t=null)=>{let n=c?"checked":"isChecked";return{...e,ref:t,name:w,[n]:null!=m?e.value===m:void 0,onChange(e){x(e)},"data-radiogroup":!0}},[c,w,x,m]),name:w,ref:g,focus:y,setValue:p,value:m,onChange:x,isDisabled:o,isFocusable:u,htmlProps:h}}(g),_=(0,a.useMemo)(()=>({name:w,size:i,onChange:v,colorScheme:n,value:y,variant:u,isDisabled:f,isFocusable:m}),[w,i,v,n,y,u,f,m]);return(0,r.jsx)(h,{value:_,children:(0,r.jsx)(c.B.div,{...b(x,t),className:(0,o.cx)("chakra-radio-group",p),children:d})})});p.displayName="RadioGroup"},15902:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,z:()=>u});var r=n(74937),i=n(63867),o=n(94289),a=n(97255);class s extends i.LN{constructor(e){super(e,e)}map(e,t){let n=e.resolve(t.map(this.head));return s.valid(n)?new s(n):i.LN.near(n)}content(){return o.Ji.empty}eq(e){return e instanceof s&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if("number"!=typeof t.pos)throw RangeError("Invalid input for GapCursor.fromJSON");return new s(e.resolve(t.pos))}getBookmark(){return new l(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!function(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(0==n){if(r.type.spec.isolating)return!0;continue}for(let e=r.child(n-1);;e=e.lastChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}}return!0}(e)||!function(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let e=r.child(n);;e=e.firstChild){if(0==e.childCount&&!e.inlineContent||e.isAtom||e.type.spec.isolating)return!0;if(e.inlineContent)return!1}}return!0}(e))return!1;let n=t.type.spec.allowGapCursor;if(null!=n)return n;let r=t.contentMatchAt(e.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(e,t,n=!1){e:for(;;){if(!n&&s.valid(e))return e;let r=e.pos,o=null;for(let n=e.depth;;n--){let i=e.node(n);if(t>0?e.indexAfter(n)0){o=i.child(t>0?e.indexAfter(n):e.index(n)-1);break}if(0==n)return null;r+=t;let a=e.doc.resolve(r);if(s.valid(a))return a}for(;;){let a=t>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!i.nh.isSelectable(o)){e=e.doc.resolve(r+o.nodeSize*t),n=!1;continue e}break}o=a,r+=t;let l=e.doc.resolve(r);if(s.valid(l))return l}return null}}}s.prototype.visible=!1,s.findFrom=s.findGapCursorFrom,i.LN.jsonID("gapcursor",s);class l{constructor(e){this.pos=e}map(e){return new l(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return s.valid(t)?new s(t):i.LN.near(t)}}function u(){return new i.k_({props:{decorations:f,createSelectionBetween:(e,t,n)=>t.pos==n.pos&&s.valid(n)?new s(n):null,handleClick:d,handleKeyDown:c,handleDOMEvents:{beforeinput:p}}})}let c=(0,r.K)({ArrowLeft:h("horiz",-1),ArrowRight:h("horiz",1),ArrowUp:h("vert",-1),ArrowDown:h("vert",1)});function h(e,t){let n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,r,o){let a=e.selection,l=t>0?a.$to:a.$from,u=a.empty;if(a instanceof i.U3){if(!o.endOfTextblock(n)||0==l.depth)return!1;u=!1,l=e.doc.resolve(t>0?l.after():l.before())}let c=s.findGapCursorFrom(l,t,u);return!!c&&(r&&r(e.tr.setSelection(new s(c))),!0)}}function d(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!s.valid(r))return!1;let o=e.posAtCoords({left:n.clientX,top:n.clientY});return!(o&&o.inside>-1&&i.nh.isSelectable(e.state.doc.nodeAt(o.inside)))&&(e.dispatch(e.state.tr.setSelection(new s(r))),!0)}function p(e,t){if("insertCompositionText"!=t.inputType||!(e.state.selection instanceof s))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let a=o.FK.empty;for(let e=r.length-1;e>=0;e--)a=o.FK.from(r[e].createAndFill(null,a));let l=e.state.tr.replace(n.pos,n.pos,new o.Ji(a,0,0));return l.setSelection(i.U3.near(l.doc.resolve(n.pos+1))),e.dispatch(l),!1}function f(e){if(!(e.selection instanceof s))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",a.zF.create(e.doc,[a.NZ.widget(e.selection.head,t,{key:"gapcursor"})])}},15905:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(47347),i=n(11116),o=n(41777),a=n(16930),s=n(67710);function l(){var e=s.x,t=null,n=(0,i.A)(0),l=s.y,u=(0,i.A)(!0),c=null,h=o.A,d=null;function p(i){var o,a,s,p,f,m=i.length,g=!1,y=Array(m),v=Array(m);for(null==c&&(d=h(f=(0,r.A)())),o=0;o<=m;++o){if(!(o=a;--s)d.point(y[s],v[s]);d.lineEnd(),d.areaEnd()}g&&(y[o]=+e(p,o,i),v[o]=+n(p,o,i),d.point(t?+t(p,o,i):y[o],l?+l(p,o,i):v[o]))}if(f)return d=null,f+""||null}function f(){return(0,a.A)().defined(u).curve(h).context(c)}return p.x=function(n){return arguments.length?(e="function"==typeof n?n:(0,i.A)(+n),t=null,p):e},p.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.A)(+t),p):e},p.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:(0,i.A)(+e),p):t},p.y=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.A)(+e),l=null,p):n},p.y0=function(e){return arguments.length?(n="function"==typeof e?e:(0,i.A)(+e),p):n},p.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:(0,i.A)(+e),p):l},p.lineX0=p.lineY0=function(){return f().x(e).y(n)},p.lineY1=function(){return f().x(e).y(l)},p.lineX1=function(){return f().x(t).y(n)},p.defined=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.A)(!!e),p):u},p.curve=function(e){return arguments.length?(h=e,null!=c&&(d=h(c)),p):h},p.context=function(e){return arguments.length?(null==e?c=d=null:d=h(c=e),p):c},p}},16074:(e,t,n)=>{"use strict";function r(e,t,n,i=e=>e){return e*i(.5-t*(.5-n))}function i(e,t){return[e[0]+t[0],e[1]+t[1]]}function o(e,t){return[e[0]-t[0],e[1]-t[1]]}function a(e,t){return[e[0]*t,e[1]*t]}function s(e){return[e[1],-e[0]]}function l(e,t){return e[0]*t[0]+e[1]*t[1]}function u(e,t){var n;return(n=o(e,t))[0]*n[0]+n[1]*n[1]}function c(e){var t;return t=Math.hypot(e[0],e[1]),[e[0]/t,e[1]/t]}function h(e,t,n){let r=Math.sin(n),i=Math.cos(n),o=e[0]-t[0],a=e[1]-t[1];return[o*i-a*r+t[0],o*r+a*i+t[1]]}function d(e,t,n){return i(e,a(o(t,e),n))}n.d(t,{Ay:()=>v,Km:()=>y,U$:()=>g});var{min:p,PI:f}=Math,m=f+1e-4;function g(e,t={}){var n,f;let{size:y=16,smoothing:v=.5,thinning:b=.5,simulatePressure:w=!0,easing:x=e=>e,start:_={},end:k={},last:E=!1}=t,{cap:A=!0,easing:S=e=>e*(2-e)}=_,{cap:C=!0,easing:T=e=>--e*e*e+1}=k;if(0===e.length||y<=0)return[];let M=e[e.length-1].runningLength,P=!1===_.taper?0:!0===_.taper?Math.max(y,M):_.taper,O=!1===k.taper?0:!0===k.taper?Math.max(y,M):k.taper,D=Math.pow(y*v,2),I=[],N=[],R=e.slice(0,10).reduce((e,t)=>{let n=t.pressure;if(w){let r=p(1,t.distance/y),i=p(1,1-r);n=p(1,e+.275*r*(i-e))}return(e+n)/2},e[0].pressure),L=r(y,b,e[e.length-1].pressure,x),B,F=e[0].vector,j=e[0].point,U=j,z=j,$=U,H=!1;for(let t=0;tl(f,F)&&!H,A=null!==k&&k<0;if(E||A){let e=a(s(F),L);for(let t=1/13,n=0;n<=1;n+=t)z=h(o(c,e),c,m*n),I.push(z),$=h(i(c,e),c,-(m*n)),N.push($);j=z,U=$,A&&(H=!0);continue}if(H=!1,t===e.length-1){let e=a(s(f),L);I.push(o(c,e)),N.push(i(c,e));continue}let C=a(s(d(_,f,k)),L);z=o(c,C),(t<=1||u(j,z)>D)&&(I.push(z),j=z),$=i(c,C),(t<=1||u(U,$)>D)&&(N.push($),U=$),R=n,F=f}let V=e[0].point.slice(0,2),W=e.length>1?e[e.length-1].point.slice(0,2):i(e[0].point,[1,1]),q=[],Y=[];if(1===e.length){if(!(P||O)||E){let e=(n=c(s(o(V,W))),i(V,a(n,-(B||L)))),t=[];for(let n=1/13,r=n;r<=1;r+=n)t.push(h(e,V,2*m*r));return t}}else{if(!(P||O&&1===e.length))if(A)for(let e=1/13,t=e;t<=1;t+=e){let e=h(N[0],V,m*t);q.push(e)}else{let e=o(I[0],N[0]),t=a(e,.5),n=a(e,.51);q.push(o(V,t),o(V,n),i(V,n),i(V,t))}let t=s([-(f=e[e.length-1].vector)[0],-f[1]]);if(O||P&&1===e.length)Y.push(W);else if(C){let e=i(W,a(t,L));for(let t=1/29,n=t;n<1;n+=t)Y.push(h(e,W,3*m*n))}else Y.push(i(W,a(t,L)),i(W,a(t,.99*L)),o(W,a(t,.99*L)),o(W,a(t,L)))}return I.concat(Y,N.reverse(),q)}function y(e,t={}){var n,r,a;let{streamline:s=.5,size:l=16,last:u=!1}=t;if(0===e.length)return[];let h=.15+(1-s)*.85,p=Array.isArray(e[0])?e:e.map(({x:e,y:t,pressure:n=.5})=>[e,t,n]);if(2===p.length){let e=p[1];p=p.slice(0,-1);for(let t=1;t<5;t++)p.push(d(p[0],e,t/4))}1===p.length&&(p=[...p,[...i(p[0],[1,1]),...p[0].slice(2)]]);let f=[{point:[p[0][0],p[0][1]],pressure:p[0][2]>=0?p[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],m=!1,g=0,v=f[0],b=p.length-1;for(let e=1;e=0?p[e][2]:.5,vector:c(o(v.point,t)),distance:n,runningLength:g},f.push(v)}return f[0].vector=(null==(n=f[1])?void 0:n.vector)||[0,0],f}var v=function(e,t={}){return g(y(e,t),t)}},16249:()=>{},16491:(e,t,n)=>{"use strict";n.d(t,{DY:()=>s,G_:()=>o,mg:()=>a});var r=n(55729);let i=(0,r.createContext)(null);function o({clientId:e,onScriptLoadSuccess:t,onScriptLoadError:n,children:o}){let a=function(e={}){let{onScriptLoadSuccess:t,onScriptLoadError:n}=e,[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(t);a.current=t;let s=(0,r.useRef)(n);return s.current=n,(0,r.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.onload=()=>{var e;o(!0),null==(e=a.current)||e.call(a)},e.onerror=()=>{var e;o(!1),null==(e=s.current)||e.call(s)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),i}({onScriptLoadSuccess:t,onScriptLoadError:n}),s=(0,r.useMemo)(()=>({clientId:e,scriptLoadedSuccessfully:a}),[e,a]);return r.createElement(i.Provider,{value:s},o)}function a({flow:e="implicit",scope:t="",onSuccess:n,onError:o,...a}){let{clientId:s,scriptLoadedSuccessfully:l}=function(){let e=(0,r.useContext)(i);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}(),u=(0,r.useRef)(),c=(0,r.useRef)(n);c.current=n;let h=(0,r.useRef)(o);h.current=o,(0,r.useEffect)(()=>{var n;if(!l)return;let r="implicit"===e?"initTokenClient":"initCodeClient";u.current=null==(n=window.google)?void 0:n.accounts.oauth2[r]({client_id:s,scope:`openid profile email ${t}`,callback:e=>{var t,n;if(e.error)return null==(t=h.current)?void 0:t.call(h,e);null==(n=c.current)||n.call(c,e)},...a})},[s,l,e,t]);let d=(0,r.useCallback)(e=>u.current.requestAccessToken(e),[]),p=(0,r.useCallback)(()=>u.current.requestCode(),[]);return"implicit"===e?d:p}function s(e,t,...n){return!!window.google&&window.google.accounts.oauth2.hasGrantedAllScopes(e,t,...n)}},16639:(e,t,n)=>{"use strict";e.exports=n(49524)},16690:(e,t,n)=>{"use strict";function r(e,t){return et?1:e>=t?0:NaN}n.d(t,{A:()=>r})},16697:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,i=n(55729),o=n(35896),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},16792:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(55729);let i=n(38742).B?r.useLayoutEffect:r.useEffect},16842:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(6029),i=n(5858),o=n(97646),a=n(12328),s=n(21938),l=n(55729),u=n(45463),c=n(45460),h=n(8527),d=n(2241);let p=(0,c.R)(function(e,t){let n=(0,h.o)("Avatar",e),{children:c,borderColor:p,max:f,spacing:m="-0.75rem",borderRadius:g="full",...y}=(0,i.M)(e),v=(0,o.a)(c),b=null!=f?v.slice(0,f):v,w=null!=f?v.length-f:0,x=b.reverse().map((t,n)=>{let r={marginEnd:0===n?0:m,size:e.size,borderColor:t.props.borderColor??p,showBorder:!0};return(0,l.cloneElement)(t,(0,a.o)(r))}),_={display:"flex",alignItems:"center",justifyContent:"flex-end",flexDirection:"row-reverse",...n.group},k={borderRadius:g,marginStart:m,...u.B,...n.excessLabel};return(0,r.jsxs)(d.B.div,{ref:t,role:"group",__css:_,...y,className:(0,s.cx)("chakra-avatar__group",e.className),children:[w>0&&(0,r.jsx)(d.B.span,{className:"chakra-avatar__excess",__css:k,children:`+${w}`}),x]})});p.displayName="AvatarGroup"},16930:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47347),i=n(11116),o=n(41777),a=n(67710);function s(){var e=a.x,t=a.y,n=(0,i.A)(!0),s=null,l=o.A,u=null;function c(i){var o,a,c,h=i.length,d=!1;for(null==s&&(u=l(c=(0,r.A)())),o=0;o<=h;++o)!(o{"use strict";n.d(t,{X:()=>o});var r=n(29255),i=n(38158);function o(e,t=100,n){let a=n({...e,keyframes:[0,t]}),s=Math.min((0,i.t)(a),i.Y);return{type:"keyframes",ease:e=>a.next(s*e).value/t,duration:(0,r.X)(s)}}},17203:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=e=>!!(e&&e.getVelocity)},17318:(e,t,n)=>{"use strict";n.d(t,{h:()=>I});var r=n(91081),i=n(3839),o=n(8605),a={};a={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{623}\u{62F}\u{627}\u{629} \u{627}\u{646}\u{62A}\u{642}\u{627}\u{621} \u{627}\u{644}\u{644}\u{648}\u{646}`,colorSwatch:`\u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{623}\u{644}\u{648}\u{627}\u{646}`,transparent:`\u{634}\u{641}\u{627}\u{641}`,twoDimensionalSlider:`\u{645}\u{64F}\u{646}\u{632}\u{644}\u{642} 2D`},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{437}\u{430} \u{438}\u{437}\u{431}\u{438}\u{440}\u{430}\u{43D}\u{435} \u{43D}\u{430} \u{446}\u{432}\u{44F}\u{442}`,colorSwatch:`\u{446}\u{432}\u{435}\u{442}\u{43D}\u{430} \u{43C}\u{43E}\u{441}\u{442}\u{440}\u{430}`,transparent:`\u{43F}\u{440}\u{43E}\u{437}\u{440}\u{430}\u{447}\u{435}\u{43D}`,twoDimensionalSlider:`2D \u{43F}\u{43B}\u{44A}\u{437}\u{433}\u{430}\u{447}`},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`V\xfdb\u{11B}r barvy`,colorSwatch:`barevn\xfd vzorek`,transparent:`pr\u{16F}hledn\xfd`,twoDimensionalSlider:`2D posuvn\xedk`},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Farvev\xe6lger`,colorSwatch:`farvepr\xf8ve`,transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Farbw\xe4hler`,colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3B1}\u{3C2} \u{3C7}\u{3C1}\u{3C9}\u{3BC}\u{3AC}\u{3C4}\u{3C9}\u{3BD}`,colorSwatch:`\u{3C7}\u{3C1}\u{3C9}\u{3BC}\u{3B1}\u{3C4}\u{3B9}\u{3BA}\u{3CC} \u{3B4}\u{3B5}\u{3AF}\u{3B3}\u{3BC}\u{3B1}`,transparent:`\u{3B4}\u{3B9}\u{3B1}\u{3C6}\u{3B1}\u{3BD}\u{3AD}\u{3C2}`,twoDimensionalSlider:`\u{3A1}\u{3C5}\u{3B8}\u{3BC}\u{3B9}\u{3C3}\u{3C4}\u{3B9}\u{3BA}\u{3CC} 2D`},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`V\xe4rvivalija`,colorSwatch:`v\xe4rvin\xe4idis`,transparent:`l\xe4bipaistev`,twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`V\xe4rimuokkain`,colorSwatch:`v\xe4rimalli`,transparent:`l\xe4pin\xe4kyv\xe4`,twoDimensionalSlider:`2D-liukus\xe4\xe4din`},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xa0: ${e.value}`,colorPicker:`S\xe9lecteur de couleurs`,colorSwatch:`\xc9chantillon de couleurs`,transparent:"Transparent",twoDimensionalSlider:`Curseur\xa02D`},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{5D1}\u{5D5}\u{5D7}\u{5E8} \u{5D4}\u{5E6}\u{5D1}\u{5E2}\u{5D9}\u{5DD}`,colorSwatch:`\u{5D3}\u{5D5}\u{5D2}\u{5DE}\u{5D9}\u{5EA} \u{5E6}\u{5D1}\u{5E2}`,transparent:`\u{5E9}\u{5E7}\u{5D5}\u{5E3}`,twoDimensionalSlider:`\u{5DE}\u{5D7}\u{5D5}\u{5D5}\u{5DF} \u{5D3}\u{5D5} \u{5DE}\u{5D9}\u{5DE}\u{5D3}\u{5D9}`},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:`2D kliza\u{10D}`},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Sz\xednv\xe1laszt\xf3`,colorSwatch:`sz\xednt\xe1r`,transparent:`\xe1tl\xe1tsz\xf3`,twoDimensionalSlider:`2D-cs\xfaszka`},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u{3001}${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:`\u{30AB}\u{30E9}\u{30FC}\u{30D4}\u{30C3}\u{30AB}\u{30FC}`,colorSwatch:`\u{30AB}\u{30E9}\u{30FC}\u{30B9}\u{30A6}\u{30A9}\u{30C3}\u{30C1}`,transparent:`\u{900F}\u{660E}`,twoDimensionalSlider:`2D \u{30B9}\u{30E9}\u{30A4}\u{30C0}\u{30FC}`},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{C0C9}\u{C0C1} \u{D53C}\u{CEE4}`,colorSwatch:`\u{C0C9}\u{C0C1} \u{ACAC}\u{BCF8}`,transparent:`\u{D22C}\u{BA85}\u{B3C4}`,twoDimensionalSlider:`2D \u{C2AC}\u{B77C}\u{C774}\u{B354}`},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Spalv\u{173} parinkiklis`,colorSwatch:`spalv\u{173} pavyzdys`,transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Kr\u{101}su atlas\u{12B}t\u{101}js`,colorSwatch:`kr\u{101}su paraugs`,transparent:`caursp\u{12B}d\u{12B}gs`,twoDimensionalSlider:`2D sl\u{12B}dnis`},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Pr\xf3bnik kolor\xf3w`,colorSwatch:`pr\xf3bka koloru`,transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{41F}\u{430}\u{43B}\u{438}\u{442}\u{440}\u{430} \u{446}\u{432}\u{435}\u{442}\u{43E}\u{432}`,colorSwatch:`\u{446}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{43E}\u{439} \u{43E}\u{431}\u{440}\u{430}\u{437}\u{435}\u{446}`,transparent:`\u{43F}\u{440}\u{43E}\u{437}\u{440}\u{430}\u{447}\u{43D}\u{44B}\u{439}`,twoDimensionalSlider:`\u{41F}\u{43E}\u{43B}\u{437}\u{443}\u{43D}\u{43E}\u{43A} 2D`},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`V\xfdber farieb`,colorSwatch:`vzorkovn\xedk farieb`,transparent:`transparentn\xfd`,twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Bira\u{10D} boja`,colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:`2D kliza\u{10D}`},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`F\xe4rgv\xe4ljaren`,colorSwatch:`f\xe4rgruta`,transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`Renk Se\xe7ici`,colorSwatch:`renk \xf6rne\u{11F}i`,transparent:"saydam",twoDimensionalSlider:`2D s\xfcrg\xfc`},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:`\u{41F}\u{430}\u{43B}\u{456}\u{442}\u{440}\u{430} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{456}\u{432}`,colorSwatch:`\u{437}\u{440}\u{430}\u{437}\u{43E}\u{43A} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{443}`,transparent:`\u{43F}\u{440}\u{43E}\u{437}\u{43E}\u{440}\u{438}\u{439}`,twoDimensionalSlider:`\u{41F}\u{43E}\u{432}\u{437}\u{443}\u{43D}\u{43E}\u{43A} 2D`},"zh-CN":{colorInputLabel:e=>`${e.label}\u{3001}${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\u{FF1A}${e.value}`,colorPicker:`\u{62FE}\u{8272}\u{5668}`,colorSwatch:`\u{989C}\u{8272}\u{8272}\u{677F}`,transparent:`\u{900F}\u{660E}`,twoDimensionalSlider:`2D \u{6ED1}\u{5757}`},"zh-TW":{colorInputLabel:e=>`${e.label}\u{FF0C}${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\u{FF1A}${e.value}`,colorPicker:`\u{6AA2}\u{8272}\u{5668}`,colorSwatch:`\u{8272}\u{7968}`,transparent:`\u{900F}\u{660E}`,twoDimensionalSlider:`2D \u{6ED1}\u{687F}`}};var s=n(51192),l=n(55729);let u=e=>[0,60,120,180,240,300,360].map(t=>e.withChannelValue("hue",t).toString("css")).join(", "),c=e=>`${e.withChannelValue("saturation",0)}, transparent`,h={hue:u,saturation:c,lightness:()=>"black, transparent, white"},d={hue:u,saturation:c,brightness:()=>"black, transparent"};var p=n(34142),f=n(73371),m=n(56213),g=n(67584),y=n(54712),v=n(99545),b=n(78986),w=n(37110),x=n(5001),_=n(24772),k=n(42029),E=n(7982),A=n(61610);let S=new WeakMap;var C=n(32933),T=n(92612),M=n(77785);let P=(0,s.H0)("#ffffff");var O=n(58429);let D=(0,l.createContext)(null),I=(0,l.forwardRef)(function(e,t){[e,t]=(0,o.JT)(e,t,r.UF);let n=(0,l.useRef)(null),u=(0,l.useRef)(null),c=function(e){let{value:t,defaultValue:n,colorSpace:r,xChannel:i,yChannel:o,onChange:a,onChangeEnd:u}=e;t||n||(n=P),t&&(t=(0,s.$2)(t)),n&&(n=(0,s.$2)(n));let[c,h]=(0,T.P)(t,n,a),[d]=(0,l.useState)(c),p=(0,l.useMemo)(()=>r&&c?c.toFormat(r):c,[c,r]),f=(0,l.useRef)(p),m=e=>{f.current=e,h(e)},g=(0,l.useMemo)(()=>p.getColorSpaceAxes({xChannel:i,yChannel:o}),[p,i,o]),y=p.getChannelRange(g.xChannel),v=p.getChannelRange(g.yChannel),{minValue:b,maxValue:w,step:x,pageSize:_}=y,{minValue:k,maxValue:E,step:A,pageSize:S}=v,[C,O]=(0,l.useState)(!1),D=(0,l.useRef)(!1),I=p.getChannelValue(g.xChannel),N=p.getChannelValue(g.yChannel),R=e=>{e!==I&&m(p.withChannelValue(g.xChannel,e))},L=e=>{e!==N&&m(p.withChannelValue(g.yChannel,e))};return{channels:g,xChannelStep:x,yChannelStep:A,xChannelPageStep:_,yChannelPageStep:S,value:p,defaultValue:void 0!==t?d:n,setValue(e){m((0,s.$2)(e))},xValue:I,setXValue:R,yValue:N,setYValue:L,setColorFromPoint(e,t){let n,r=b+(0,M.qE)(e,0,1)*(w-b),i=k+(1-(0,M.qE)(t,0,1))*(E-k);r!==I&&(r=(0,M.BU)(r,b,w,x),n=p.withChannelValue(g.xChannel,r)),i!==N&&(i=(0,M.BU)(i,k,E,A),n=(n||p).withChannelValue(g.yChannel,i)),n&&m(n)},getThumbPosition:()=>({x:(I-b)/(w-b),y:1-(N-k)/(E-k)}),incrementX(e=1){R(I+e>w?w:(0,M.BU)(I+e,b,w,x))},incrementY(e=1){L(N+e>E?E:(0,M.BU)(N+e,k,E,A))},decrementX(e=1){R((0,M.BU)(I-e,b,w,x))},decrementY(e=1){L((0,M.BU)(N-e,k,E,A))},setDragging(e){let t=D.current;D.current=e,u&&!e&&t&&u(f.current),O(e)},isDragging:C,getDisplayColor:()=>p.withChannelValue("alpha",1)}}(e),{colorAreaProps:I,xInputProps:N,yInputProps:R,thumbProps:L}=function(e,t){var n;let{isDisabled:r,inputXRef:i,inputYRef:o,containerRef:u,"aria-label":c,xName:T,yName:M,form:P}=e,O=function(e,t){let n,{locale:r}=(0,k.Y)(),i=t&&E.B.getGlobalDictionaryForPackage(t)||((n=S.get(e))||(n=new(0,E.B)(e),S.set(e,n)),n);return(0,l.useMemo)(()=>new(0,A.J)(r,i),[r,i])}((n=a)&&n.__esModule?n.default:n,"@react-aria/color"),{addGlobalListener:D,removeGlobalListener:I}=(0,p.A)(),{direction:N,locale:R}=(0,k.Y)(),[L,B]=(0,l.useState)(null),F=(0,l.useCallback)((e=i)=>{e.current&&(0,f.e)(e.current)},[i]);(0,m.F)(i,t.defaultValue,t.setValue);let[j,U]=(0,l.useState)(!1),[z,$]=(0,l.useState)(!1),{xChannel:H,yChannel:V,zChannel:W}=t.channels,q=t.xChannelStep,Y=t.yChannelStep,G=(0,l.useRef)(null),{keyboardProps:K}=(0,b.d)({onKeyDown(e){let n;if(!/^(PageUp|PageDown|Home|End)$/.test(e.key))return void e.continuePropagation();switch(e.preventDefault(),t.setDragging(!0),U(!0),e.key){case"PageUp":t.incrementY(t.yChannelPageStep),n="y";break;case"PageDown":t.decrementY(t.yChannelPageStep),n="y";break;case"Home":"rtl"===N?t.incrementX(t.xChannelPageStep):t.decrementX(t.xChannelPageStep),n="x";break;case"End":"rtl"===N?t.decrementX(t.xChannelPageStep):t.incrementX(t.xChannelPageStep),n="x"}t.setDragging(!1),n&&(F("x"===n?i:o),B(n))}}),X={onMoveStart(){G.current=null,t.setDragging(!0)},onMove({deltaX:e,deltaY:n,pointerType:r,shiftKey:i}){var o;let{incrementX:a,decrementX:s,incrementY:l,decrementY:c,xChannelPageStep:h,xChannelStep:d,yChannelPageStep:p,yChannelStep:f,getThumbPosition:m,setColorFromPoint:g}=t;null==G.current&&(G.current=m());let{width:y,height:v}=(null==(o=u.current)?void 0:o.getBoundingClientRect())||{width:0,height:0},b=0!==e||0!==n;if("keyboard"===r){let t=i&&h>d?h:d,r=i&&p>f?p:f;e>0&&"ltr"===N||e<0&&"rtl"===N?a(t):e<0&&"ltr"===N||e>0&&"rtl"===N?s(t):n>0?c(r):n<0&&l(r),U(b),B(L=b&&Math.abs(n)>Math.abs(e)?"y":"x")}else G.current.x+=("rtl"===N?-1:1)*e/y,G.current.y+=n/v,g(G.current.x,G.current.y)},onMoveEnd(){ee.current=!1,t.setDragging(!1),F("x"===L?i:o)}},{moveProps:Z}=(0,w.f)(X),{focusWithinProps:J}=(0,x.R)({onFocusWithinChange:e=>{e||(U(!1),$(!1))}}),Q=(0,l.useRef)(void 0),ee=(0,l.useRef)(!1),{moveProps:et}=(0,w.f)({onMoveStart(){ee.current&&X.onMoveStart()},onMove(e){ee.current&&X.onMove(e)},onMoveEnd(){ee.current&&X.onMoveEnd()}}),en=e=>{t.isDragging||(Q.current=e,U(!1),F(),t.setDragging(!0),"undefined"!=typeof PointerEvent?D(window,"pointerup",er,!1):(D(window,"mouseup",er,!1),D(window,"touchend",er,!1)))},er=e=>{var n,r;(null!=(r=e.pointerId)?r:null==(n=e.changedTouches)?void 0:n[0].identifier)===Q.current&&(U(!1),F(),t.setDragging(!1),Q.current=void 0,ee.current=!1,"undefined"!=typeof PointerEvent?I(window,"pointerup",er,!1):(I(window,"mouseup",er,!1),I(window,"touchend",er,!1)))},ei=(e,n,r,i)=>{let o=e.getBoundingClientRect(),{width:a,height:s}=o,l=(r-o.x)/a,u=(i-o.y)/s;"rtl"===N&&(l=1-l),l>=0&&l<=1&&u>=0&&u<=1&&!t.isDragging&&void 0===Q.current&&(ee.current=!0,U(!1),Q.current=n,t.setColorFromPoint(l,u),F(),t.setDragging(!0),"undefined"!=typeof PointerEvent?D(window,"pointerup",eo,!1):(D(window,"mouseup",eo,!1),D(window,"touchend",eo,!1)))},eo=e=>{var n,r;let i=null!=(r=e.pointerId)?r:null==(n=e.changedTouches)?void 0:n[0].identifier;ee.current&&i===Q.current&&(ee.current=!1,U(!1),Q.current=void 0,t.setDragging(!1),F(),"undefined"!=typeof PointerEvent?I(window,"pointerup",eo,!1):(I(window,"mouseup",eo,!1),I(window,"touchend",eo,!1)))},ea=r?{}:(0,g.v)({..."undefined"!=typeof PointerEvent?{onPointerDown:e=>{"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||ei(e.currentTarget,e.pointerId,e.clientX,e.clientY)}}:{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||ei(e.currentTarget,void 0,e.clientX,e.clientY)},onTouchStart:e=>{ei(e.currentTarget,e.changedTouches[0].identifier,e.changedTouches[0].clientX,e.changedTouches[0].clientY)}}},et),es=r?{}:(0,g.v)({..."undefined"!=typeof PointerEvent?{onPointerDown:e=>{"mouse"===e.pointerType&&(0!==e.button||e.altKey||e.ctrlKey||e.metaKey)||en(e.pointerId)}}:{onMouseDown:e=>{0!==e.button||e.altKey||e.ctrlKey||e.metaKey||en(void 0)},onTouchStart:e=>{en(e.changedTouches[0].identifier)}}},J,K,Z),{focusProps:el}=(0,_.i)({onFocus:()=>{B("x")}}),{focusProps:eu}=(0,_.i)({onFocus:()=>{B("y")}}),ec=e=>{let{target:n}=e;$(!0),n===i.current?t.setXValue(parseFloat(n.value)):n===o.current&&t.setYValue(parseFloat(n.value))},eh=(0,y.un)()||(0,y.m0)(),ed=t.getDisplayColor(),ep=(0,l.useCallback)(e=>{let t=z||j;return`${t?O.format("colorNameAndValue",{name:ed.getChannelName(e,R),value:ed.formatChannelValue(e,R)}):[O.format("colorNameAndValue",{name:ed.getChannelName(e,R),value:ed.formatChannelValue(e,R)}),O.format("colorNameAndValue",{name:ed.getChannelName(e===V?H:V,R),value:ed.formatChannelValue(e===V?H:V,R)}),O.format("colorNameAndValue",{name:ed.getChannelName(W,R),value:ed.formatChannelValue(W,R)})].join(", ")}, ${ed.getColorName(R)}`},[R,ed,O,z,j,H,V,W]),ef=O.format("colorPicker"),em=(0,v.b)({...e,"aria-label":c?O.format("colorInputLabel",{label:c,channelLabel:ef}):ef}),eg=(0,v.b)({...e,"aria-label":c?O.format("colorInputLabel",{label:c,channelLabel:ef}):ef}),ey=(0,v.b)({...e,"aria-label":c?`${c}, ${ef}`:void 0},eh?ef:void 0),ev=O.format("twoDimensionalSlider"),{visuallyHiddenProps:eb}=(0,C.B)({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:ew,thumbStyleProps:ex}=function({direction:e,state:t,zChannel:n,xChannel:r,yChannel:i}){return(0,l.useMemo)(()=>{let o="rtl"===e?"left":"right",a={},l=t.value.getChannelValue(n);switch(t.value.getColorSpace()){case"rgb":{let e=(0,s.H0)("rgb(0, 0, 0)");a={background:[`linear-gradient(to ${o}, ${e.withChannelValue(r,0)}, ${e.withChannelValue(r,255)})`,`linear-gradient(to top, ${e.withChannelValue(i,0)}, ${e.withChannelValue(i,255)})`,e.withChannelValue(n,l)].join(","),backgroundBlendMode:"screen"};break}case"hsl":{let e=t.value.getColorChannels(),i=(0,s.H0)("hsl(0, 100%, 50%)").withChannelValue(n,l),u=e.filter(e=>e!==n).map(e=>`linear-gradient(to ${e===r?o:"top"}, ${h[e](i)})`).reverse();"hue"===n&&u.push(i.toString("css")),a={background:u.join(", ")};break}case"hsb":{let e=t.value.getColorChannels(),i=(0,s.H0)("hsb(0, 100%, 100%)").withChannelValue(n,l),u=e.filter(e=>e!==n).map(e=>`linear-gradient(to ${e===r?o:"top"}, ${d[e](i)})`).reverse();"hue"===n&&u.push(i.toString("css")),a={background:u.join(", ")}}}let{x:u,y:c}=t.getThumbPosition();"rtl"===e&&(u=1-u);let p={forcedColorAdjust:"none"};return{colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...p,...a}},thumbStyleProps:{style:{position:"absolute",left:`${100*u}%`,top:`${100*c}%`,transform:"translate(-50%, -50%)",touchAction:"none",...p}}}},[e,t,n,r,i])}({direction:N,state:t,xChannel:H,yChannel:V,zChannel:W});return{colorAreaProps:{...ey,...ea,...ew,role:"group"},thumbProps:{...es,...ex,role:"presentation"},xInputProps:{...em,...eb,...el,type:"range",min:t.value.getChannelRange(H).minValue,max:t.value.getChannelRange(H).maxValue,step:q,"aria-roledescription":ev,"aria-valuetext":ep(H),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:r,value:t.value.getChannelValue(H),name:T,form:P,tabIndex:eh||!L||"x"===L?void 0:-1,"aria-hidden":eh||!L||"x"===L||j?void 0:"true",onChange:ec},yInputProps:{...eg,...eb,...eu,type:"range",min:t.value.getChannelRange(V).minValue,max:t.value.getChannelRange(V).maxValue,step:Y,"aria-roledescription":ev,"aria-valuetext":ep(V),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:r,value:t.value.getChannelValue(V),name:M,form:P,tabIndex:eh||"y"===L?void 0:-1,"aria-hidden":eh||"y"===L||j?void 0:"true",onChange:ec}}}({...e,inputXRef:n,inputYRef:u,containerRef:t},c),B=(0,o.Sl)({...e,defaultClassName:"react-aria-ColorArea",defaultStyle:I.style,values:{state:c,isDisabled:e.isDisabled||!1}}),F=(0,O.$)(e,{global:!0});return delete F.id,l.createElement("div",{ref:t,...(0,g.v)(F,I,B),slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0},l.createElement(o.Kq,{values:[[D,c],[i.C,{state:c,thumbProps:L,inputXRef:n,xInputProps:N,inputYRef:u,yInputProps:R,isDisabled:e.isDisabled}]]},B.children))})},17399:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,NG:()=>s});var r=n(37243),i=n(63867),o=/^```([a-z]+)?[\s\n]$/,a=/^~~~([a-z]+)?[\s\n]$/,s=r.bP.create({name:"codeBlock",addOptions:()=>({languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:4,HTMLAttributes:{}}),content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;let{languageClassPrefix:n}=this.options;if(!n)return null;let r=[...(null==(t=e.firstElementChild)?void 0:t.classList)||[]].filter(e=>e.startsWith(n)).map(e=>e.replace(n,""))[0];return r||null},rendered:!1}}},parseHTML:()=>[{tag:"pre",preserveWhitespace:"full"}],renderHTML({node:e,HTMLAttributes:t}){return["pre",(0,r.KV)(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(e,t)=>{var n;return(null==(n=e.raw)?void 0:n.startsWith("```"))===!1&&"indented"!==e.codeBlockStyle?[]:t.createNode("codeBlock",{language:e.lang||null},e.text?[t.createTextNode(e.text)]:[])},renderMarkdown:(e,t)=>{var n;let r=(null==(n=e.attrs)?void 0:n.language)||"";return e.content?[`\`\`\`${r}`,t.renderChildren(e.content),"```"].join("\n"):`\`\`\`${r} \`\`\``},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!!e&&t.parent.type.name===this.name&&(!!n||!t.parent.textContent.length)&&this.editor.commands.clearNodes()},Tab:({editor:e})=>{var t;if(!this.options.enableTabIndentation)return!1;let n=null!=(t=this.options.tabSize)?t:4,{state:r}=e,{selection:i}=r,{$from:o,empty:a}=i;if(o.parent.type!==this.type)return!1;let s=" ".repeat(n);return a?e.commands.insertContent(s):e.commands.command(({tr:e})=>{let{from:t,to:n}=i,o=r.doc.textBetween(t,n,"\n","\n").split("\n").map(e=>s+e).join("\n");return e.replaceWith(t,n,r.schema.text(o)),!0})},"Shift-Tab":({editor:e})=>{var t;if(!this.options.enableTabIndentation)return!1;let n=null!=(t=this.options.tabSize)?t:4,{state:r}=e,{selection:o}=r,{$from:a,empty:s}=o;return a.parent.type===this.type&&(s?e.commands.command(({tr:e})=>{var t;let{pos:o}=a,s=a.start(),l=a.end(),u=r.doc.textBetween(s,l,"\n","\n").split("\n"),c=0,h=0,d=o-s;for(let e=0;e=d){c=e;break}h+=u[e].length+1}let p=Math.min(((null==(t=u[c].match(/^ */))?void 0:t[0])||"").length,n);if(0===p)return!0;let f=s;for(let e=0;e{let{from:t,to:i}=o,a=r.doc.textBetween(t,i,"\n","\n").split("\n").map(e=>{var t;let r=Math.min(((null==(t=e.match(/^ */))?void 0:t[0])||"").length,n);return e.slice(r)}).join("\n");return e.replaceWith(t,i,r.schema.text(a)),!0}))},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;let o=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith("\n\n");return!!o&&!!a&&e.chain().command(({tr:e})=>(e.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:n,doc:r}=t,{$from:o,empty:a}=n;if(!a||o.parent.type!==this.type||o.parentOffset!==o.parent.nodeSize-2)return!1;let s=o.after();return void 0!==s&&(r.nodeAt(s)?e.commands.command(({tr:e})=>(e.setSelection(i.LN.near(r.resolve(s))),!0)):e.commands.exitCode())}}},addInputRules(){return[(0,r.JJ)({find:o,type:this.type,getAttributes:e=>({language:e[1]})}),(0,r.JJ)({find:a,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new i.k_({key:new i.hs("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),o=r?JSON.parse(r):void 0,a=null==o?void 0:o.mode;if(!n||!a)return!1;let{tr:s,schema:l}=e.state,u=l.text(n.replace(/\r\n?/g,"\n"));return s.replaceSelectionWith(this.type.create({language:a},u)),s.selection.$from.parent.type!==this.type&&s.setSelection(i.U3.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}}),l=s},17406:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55455);let i=function(e,t,n){var i,o,a;return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=(0,r.A)(n))==n?n:0),void 0!==t&&(t=(t=(0,r.A)(t))==t?t:0),i=(0,r.A)(e),o=t,a=n,i==i&&(void 0!==a&&(i=i<=a?i:a),void 0!==o&&(i=i>=o?i:o)),i}},17508:(e,t,n)=>{var r=n(6802),i=n(28469);e.exports=function(e,t,n){return n="function"==typeof n?n:void 0,r(e,t,i(t),n)}},17553:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(80545);class i extends Error{constructor(e,t){void 0===t&&(t={}),super(e),this.cause=t.cause,this.cause&&(0,r.A)(this.cause,"isNetworkError")&&(this.isNetworkError=this.cause.isNetworkError)}}let o=i},17642:(e,t,n)=>{"use strict";n.d(t,{A:()=>function e(){var t=new Map,n=[],o=[],a=i;function s(e){var r=e+"",s=t.get(r);if(!s){if(a!==i)return a;t.set(r,s=n.push(e))}return o[(s-1)%o.length]}return s.domain=function(e){if(!arguments.length)return n.slice();for(let r of(n=[],t=new Map,e)){let e=r+"";t.has(e)||t.set(e,n.push(r))}return s},s.range=function(e){return arguments.length?(o=Array.from(e),s):o.slice()},s.unknown=function(e){return arguments.length?(a=e,s):a},s.copy=function(){return e(n,o).unknown(a)},r.C.apply(s,arguments),s}});var r=n(87775);let i=Symbol("implicit")},17724:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}n.d(t,{A:()=>r})},17806:e=>{var t=Math.floor,n=Math.random;e.exports=function(e,r){return e+t(n()*(r-e+1))}},17997:(e,t,n)=>{"use strict";n.r(t),n.d(t,{directoryOpen:()=>s,directoryOpenLegacy:()=>x,directoryOpenModern:()=>m,fileOpen:()=>o,fileOpenLegacy:()=>b,fileOpenModern:()=>h,fileSave:()=>u,fileSaveLegacy:()=>k,fileSaveModern:()=>y,supported:()=>r});let r=(()=>{if("undefined"==typeof self)return!1;if("top"in self&&self!==top)try{top}catch(e){}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1})(),i=r?Promise.resolve().then(function(){return d}):Promise.resolve().then(function(){return w});async function o(...e){return(await i).default(...e)}let a=r?Promise.resolve().then(function(){return g}):Promise.resolve().then(function(){return _});async function s(...e){return(await a).default(...e)}let l=r?Promise.resolve().then(function(){return v}):Promise.resolve().then(function(){return E});async function u(...e){return(await l).default(...e)}let c=async e=>{let t=await e.getFile();return t.handle=e,t};var h=async(e=[{}])=>{Array.isArray(e)||(e=[e]);let t=[];e.forEach((e,n)=>{t[n]={description:e.description||"Files",accept:{}},e.mimeTypes?e.mimeTypes.map(r=>{t[n].accept[r]=e.extensions||[]}):t[n].accept["*/*"]=e.extensions||[]});let n=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),r=await Promise.all(n.map(c));return e[0].multiple?r:r[0]},d={__proto__:null,default:h};function p(e){function t(e){if(Object(e)!==e)return Promise.reject(TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return(p=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new p(e)}let f=async(e,t,n=e.name,r)=>{let i=[],o=[];var a,s=!1,l=!1;try{for(var u,c=function(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new p(t.call(e));n="@@asyncIterator",r="@@iterator"}throw TypeError("Object is not async iterable")}(e.values());s=!(u=await c.next()).done;s=!1){let a=u.value,s=`${n}/${a.name}`;"file"===a.kind?o.push(a.getFile().then(t=>(t.directoryHandle=e,t.handle=a,Object.defineProperty(t,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>s})))):"directory"!==a.kind||!t||r&&r(a)||i.push(f(a,t,s,r))}}catch(e){l=!0,a=e}finally{try{s&&null!=c.return&&await c.return()}finally{if(l)throw a}}return[...(await Promise.all(i)).flat(),...await Promise.all(o)]};var m=async(e={})=>(e.recursive=e.recursive||!1,e.mode=e.mode||"read",f(await window.showDirectoryPicker({id:e.id,startIn:e.startIn,mode:e.mode}),e.recursive,void 0,e.skipDirectory)),g={__proto__:null,default:m},y=async(e,t=[{}],n=null,r=!1,i=null)=>{Array.isArray(t)||(t=[t]),t[0].fileName=t[0].fileName||"Untitled";let o=[],a=null;if(e instanceof Blob&&e.type?a=e.type:e.headers&&e.headers.get("content-type")&&(a=e.headers.get("content-type")),t.forEach((e,t)=>{o[t]={description:e.description||"Files",accept:{}},e.mimeTypes?(0===t&&a&&e.mimeTypes.push(a),e.mimeTypes.map(n=>{o[t].accept[n]=e.extensions||[]})):a?o[t].accept[a]=e.extensions||[]:o[t].accept["*/*"]=e.extensions||[]}),n)try{await n.getFile()}catch(e){if(n=null,r)throw e}let s=n||await window.showSaveFilePicker({suggestedName:t[0].fileName,id:t[0].id,startIn:t[0].startIn,types:o,excludeAcceptAllOption:t[0].excludeAcceptAllOption||!1});!n&&i&&i(s);let l=await s.createWritable();if("stream"in e){let t=e.stream();return await t.pipeTo(l),s}return"body"in e?await e.body.pipeTo(l):(await l.write(await e),await l.close()),s},v={__proto__:null,default:y},b=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,n)=>{let r=document.createElement("input");r.type="file";let i=[...e.map(e=>e.mimeTypes||[]),...e.map(e=>e.extensions||[])].join();r.multiple=e[0].multiple||!1,r.accept=i||"",r.style.display="none",document.body.append(r);let o=e=>{"function"==typeof a&&a(),t(e)},a=e[0].legacySetup&&e[0].legacySetup(o,()=>a(n),r),s=()=>{window.removeEventListener("focus",s),r.remove()};r.addEventListener("click",()=>{window.addEventListener("focus",s)}),r.addEventListener("change",()=>{window.removeEventListener("focus",s),r.remove(),o(r.multiple?Array.from(r.files):r.files[0])}),r.click()})),w={__proto__:null,default:b},x=async(e=[{}])=>(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((t,n)=>{let r=document.createElement("input");r.type="file",r.webkitdirectory=!0;let i=e=>{"function"==typeof o&&o(),t(e)},o=e[0].legacySetup&&e[0].legacySetup(i,()=>o(n),r);r.addEventListener("change",()=>{let t=Array.from(r.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(t=t.filter(t=>t.webkitRelativePath.split("/").every(t=>!e[0].skipDirectory({name:t,kind:"directory"})))):t=t.filter(e=>2===e.webkitRelativePath.split("/").length),i(t)}),r.click()})),_={__proto__:null,default:x},k=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);let n=document.createElement("a"),r=e;"body"in e&&(r=await async function(e,t){let n=e.getReader(),r=new Response(new ReadableStream({start:e=>(async function t(){return n.read().then(({done:n,value:r})=>{if(!n)return e.enqueue(r),t();e.close()})})()})),i=await r.blob();return n.releaseLock(),new Blob([i],{type:t})}(e.body,e.headers.get("content-type"))),n.download=t.fileName||"Untitled",n.href=URL.createObjectURL(await r);let i=()=>{"function"==typeof o&&o()},o=t.legacySetup&&t.legacySetup(i,()=>o(),n);return n.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(n.href),3e4),i()}),n.click(),null},E={__proto__:null,default:k}},18053:(e,t,n)=>{var r=n(49355),i=n(9819),o=n(90199);e.exports=function(e){return i(e)?o(e):r(e)}},18074:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return _},useLinkStatus:function(){return x}});let r=n(78963),i=n(6029),o=r._(n(55729)),a=n(76424),s=n(84618),l=n(13779),u=n(37069),c=n(91134),h=n(70679),d=n(4985),p=n(10010),f=n(3359),m=n(35924);n(32062);let g=new Set;function y(e,t,n,r){if((0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r,{href:l,as:g,children:b,prefetch:w=null,passHref:x,replace:_,shallow:k,scroll:E,locale:A,onClick:S,onNavigate:C,onMouseEnter:T,onTouchStart:M,legacyBehavior:P=!1,...O}=e;n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let D=o.default.useContext(h.RouterContext),I=!1!==w,{href:N,as:R}=o.default.useMemo(()=>{if(!D){let e=v(l);return{href:e,as:g?v(g):e}}let[e,t]=(0,a.resolveHref)(D,l,!0);return{href:e,as:g?(0,a.resolveHref)(D,g):t||e}},[D,l,g]),L=o.default.useRef(N),B=o.default.useRef(R);P&&(r=o.default.Children.only(n));let F=P?r&&"object"==typeof r&&r.ref:t,[j,U,z]=(0,d.useIntersection)({rootMargin:"200px"}),$=o.default.useCallback(e=>{(B.current!==R||L.current!==N)&&(z(),B.current=R,L.current=N),j(e)},[R,N,z,j]),H=(0,m.useMergedRef)($,F);o.default.useEffect(()=>{D&&U&&I&&y(D,N,R,{locale:A})},[R,N,U,A,I,null==D?void 0:D.locale,D]);let V={ref:H,onClick(e){P||"function"!=typeof S||S(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),D&&(e.defaultPrevented||function(e,t,n,r,i,o,a,l,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,s.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==a||a;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:l,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,D,N,R,_,k,E,A,C))},onMouseEnter(e){P||"function"!=typeof T||T(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&y(D,N,R,{locale:A,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){P||"function"!=typeof M||M(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&y(D,N,R,{locale:A,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(R))V.href=R;else if(!P||x||"a"===r.type&&!("href"in r.props)){let e=void 0!==A?A:null==D?void 0:D.locale;V.href=(null==D?void 0:D.isLocaleDomain)&&(0,p.getDomainLocale)(R,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales)||(0,f.addBasePath)((0,c.addLocale)(R,e,null==D?void 0:D.defaultLocale))}return P?o.default.cloneElement(r,V):(0,i.jsx)("a",{...O,...V,children:n})}),w=(0,o.createContext)({pending:!1}),x=()=>(0,o.useContext)(w),_=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18257:(e,t,n)=>{"use strict";n.d(t,{FK:()=>y,Ob:()=>I,XX:()=>D,_3:()=>g,h:()=>f,uA:()=>v,v2:()=>function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n)}):n.push(t)),n}});var r,i,o,a,s,l,u={},c=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function f(e,t,n){var i,o,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return m(e,s,i,o,null)}function m(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=i.vnode&&i.vnode(s),s}function g(){return{current:null}}function y(e){return e.children}function v(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t0?m(w.type,w.props,w.key,null,w.__v):w)){if(w.__=n,w.__b=n.__b+1,null===(v=A[f])||v&&w.key==v.key&&w.type===v.type)A[f]=void 0;else for(g=0;g2&&(s.children=arguments.length>3?r.call(arguments,2):n),m(e.type,s,i||e.key,o||e.ref,null)}r=c.slice,i={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},o=0,v.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},v.prototype.render=y,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,x.__r=0},18528:(e,t,n)=>{"use strict";n.d(t,{A:()=>H});let r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){let s,l,u,c=(t-e)/Math.max(0,n),h=Math.floor(Math.log10(c)),d=c/Math.pow(10,h),p=d>=r?10:d>=i?5:d>=o?2:1;return(h<0?(s=Math.round(e*(u=Math.pow(10,-h)/p)),l=Math.round(t*u),s/ut&&--l,u=-u):(s=Math.round(e/(u=Math.pow(10,h)*p)),l=Math.round(t/u),s*ut&&--l),lt?1:e>=t?0:NaN}function u(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function c(e){let t,n,r;function i(e,r,o=0,a=e.length){if(o>>1;0>n(e[t],r)?o=t+1:a=t}while(ol(e(t),n),r=(t,n)=>e(t)-n):(t=e===l||e===u?e:h,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){let a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i>>1;0>=n(e[t],r)?i=t+1:o=t}while(i=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function I(e){var t;if(!(t=D.exec(e)))throw Error("invalid format: "+e);return new N({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function N(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function R(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function L(e){return(e=R(Math.abs(e)))?e[1]:NaN}function B(e,t){var n=R(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}I.prototype=N.prototype,N.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let F={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>B(100*e,t),r:B,s:function(e,t){var n=R(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(f=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+R(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function j(e){return e}var U=Array.prototype.map,z=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];g=(m=function(e){var t,n,r,i=void 0===e.grouping||void 0===e.thousands?j:(t=U.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",a=void 0===e.currency?"":e.currency[1]+"",s=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?j:(r=U.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return r[+e]})}),u=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",h=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=I(e)).fill,n=e.align,r=e.sign,d=e.symbol,p=e.zero,m=e.width,g=e.comma,y=e.precision,v=e.trim,b=e.type;"n"===b?(g=!0,b="g"):F[b]||(void 0===y&&(y=12),v=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var w="$"===d?o:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===d?a:/[%p]/.test(b)?u:"",_=F[b],k=/[defgprs%]/.test(b);function E(e){var o,a,u,d=w,E=x;if("c"===b)E=_(e)+E,e="";else{var A=(e*=1)<0||1/e<0;if(e=isNaN(e)?h:_(Math.abs(e),y),v&&(e=function(e){n:for(var t,n=e.length,r=1,i=-1;r0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),A&&0==+e&&"+"!==r&&(A=!1),d=(A?"("===r?r:c:"-"===r||"("===r?"":r)+d,E=("s"===b?z[8+f/3]:"")+E+(A&&"("===r?")":""),k){for(o=-1,a=e.length;++o(u=e.charCodeAt(o))||u>57){E=(46===u?s+e.slice(o+1):e.slice(o))+E,e=e.slice(0,o);break}}}g&&!p&&(e=i(e,1/0));var S=d.length+e.length+E.length,C=S>1)+d+e+E+C.slice(S);break;default:e=C+d+e+E}return l(e)}return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),E.toString=function(){return e+""},E}return{format:d,formatPrefix:function(e,t){var n=d(((e=I(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(L(t)/3))),i=Math.pow(10,-r),o=z[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,y=m.formatPrefix;var $=(0,n(48047).A)("domain","range","reverse","clamp","interpolate","nice","round","zero");function H(e){return $(function e(){var t,n=(function(){var e,t,n,r,i,o,a=S,s=S,l=function e(t,n){var r,i,o=typeof n;return null==n||"boolean"===o?(0,k.A)(n):("number"===o?w:"string"===o?(i=(0,v.Ay)(n))?(n=i,b.Ay):function(e,t){var n,r,i,o,a,s=x.lastIndex=_.lastIndex=0,l=-1,u=[],c=[];for(e+="",t+="";(i=x.exec(e))&&(o=_.exec(t));)(a=o.index)>s&&(a=t.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(i=i[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:w(i,o)})),s=_.lastIndex;return st&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?P:M,i=o=null,h}function h(t){return null==t||isNaN(t*=1)?n:(i||(i=r(a.map(e),s,l)))(e(u(t)))}return h.invert=function(n){return u(t((o||(o=r(s,a.map(e),w)))(n)))},h.domain=function(e){return arguments.length?(a=Array.from(e,A),c()):a.slice()},h.range=function(e){return arguments.length?(s=Array.from(e),c()):s.slice()},h.rangeRound=function(e){return s=Array.from(e),l=E.A,c()},h.clamp=function(e){return arguments.length?(u=!!e||C,c()):u!==C},h.interpolate=function(e){return arguments.length?(l=e,c()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,r){return e=n,t=r,c()}})()(C,C);return n.copy=function(){return e().domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())},O.C.apply(n,arguments),t=n.domain,n.ticks=function(e){var n=t();return function(e,t,n){if(t*=1,e*=1,!((n*=1)>0))return[];if(e===t)return[e];let r=t=i))return[];let l=o-i+1,u=Array(l);if(r)if(s<0)for(let e=0;e0;){if((i=s(u,c,e))===r)return o[a]=u,o[l]=c,t(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else if(i<0)u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i;else break;r=i}return n},n}(),e)}},18556:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(13337);function i(e,t){return+(0,r.a)(e)==+(0,r.a)(t)}},19034:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(55729),i=n(75828),o=n.n(i),a=n(85375),s=n(8610),l=["axisClassName","labelOffset","tickLength","tickLabelProps"];function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,l),p="function"==typeof h?h:u({},c,h);return r.createElement(a.A,u({axisClassName:o()("visx-axis-bottom",t),labelOffset:void 0===n?8:n,orientation:s.A.bottom,tickLabelProps:p,tickLength:void 0===i?8:i},d))}},19375:e=>{"use strict";let{entries:t,setPrototypeOf:n,isFrozen:r,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object,{freeze:a,seal:s,create:l}=Object,{apply:u,construct:c}="undefined"!=typeof Reflect&&Reflect;a||(a=function(e){return e}),s||(s=function(e){return e}),u||(u=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});let h=A(Array.prototype.forEach),d=A(Array.prototype.lastIndexOf),p=A(Array.prototype.pop),f=A(Array.prototype.push),m=A(Array.prototype.splice),g=A(String.prototype.toLowerCase),y=A(String.prototype.toString),v=A(String.prototype.match),b=A(String.prototype.replace),w=A(String.prototype.indexOf),x=A(String.prototype.trim),_=A(Object.prototype.hasOwnProperty),k=A(RegExp.prototype.test),E=(K=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:g;n&&n(e,null);let o=t.length;for(;o--;){let n=t[o];if("string"==typeof n){let e=i(n);e!==n&&(r(t)||(t[o]=e),n=e)}e[n]=!0}return e}function C(e){let n=l(null);for(let[r,i]of t(e))_(e,r)&&(Array.isArray(i)?n[r]=function(e){for(let t=0;t/gm),$=s(/\$\{[\w\W]*/gm),H=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),V=s(/^aria-[\-\w]+$/),W=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=s(/^(?:\w+script|data):/i),Y=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=s(/^html$/i);var K,X=Object.freeze({__proto__:null,ARIA_ATTR:V,ATTR_WHITESPACE:Y,CUSTOM_ELEMENT:s(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:G,ERB_EXPR:z,IS_ALLOWED_URI:W,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:U,TMPLIT_EXPR:$});let Z={element:1,text:3,progressingInstruction:7,comment:8,document:9},J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Q=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};e.exports=function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.2.6",i.removed=[],!r||!r.document||r.document.nodeType!==Z.document||!r.Element)return i.isSupported=!1,i;let{document:o}=r,s=o,u=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:A,Node:U,Element:z,NodeFilter:$,NamedNodeMap:H=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:V,DOMParser:q,trustedTypes:Y}=r,K=z.prototype,ee=T(K,"cloneNode"),et=T(K,"remove"),en=T(K,"nextSibling"),er=T(K,"childNodes"),ei=T(K,"parentNode");if("function"==typeof A){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eo="",{implementation:ea,createNodeIterator:es,createDocumentFragment:el,getElementsByTagName:eu}=o,{importNode:ec}=s,eh=Q();i.isSupported="function"==typeof t&&"function"==typeof ei&&ea&&void 0!==ea.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:ep,TMPLIT_EXPR:ef,DATA_ATTR:em,ARIA_ATTR:eg,IS_SCRIPT_OR_DATA:ey,ATTR_WHITESPACE:ev,CUSTOM_ELEMENT:eb}=X,{IS_ALLOWED_URI:ew}=X,ex=null,e_=S({},[...M,...P,...O,...I,...R]),ek=null,eE=S({},[...L,...B,...F,...j]),eA=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eS=null,eC=null,eT=!0,eM=!0,eP=!1,eO=!0,eD=!1,eI=!0,eN=!1,eR=!1,eL=!1,eB=!1,eF=!1,ej=!1,eU=!0,ez=!1,e$=!0,eH=!1,eV={},eW=null,eq=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eY=null,eG=S({},["audio","video","img","source","image","track"]),eK=null,eX=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eZ="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",e0=eQ,e1=!1,e2=null,e3=S({},[eZ,eJ,eQ],y),e4=S({},["mi","mo","mn","ms","mtext"]),e5=S({},["annotation-xml"]),e6=S({},["title","style","font","a","script"]),e8=null,e9=["application/xhtml+xml","text/html"],e7=null,te=null,tt=o.createElement("form"),tn=function(e){return e instanceof RegExp||e instanceof Function},tr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=C(e),e7="application/xhtml+xml"===(e8=-1===e9.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?y:g,ex=_(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,e7):e_,ek=_(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,e7):eE,e2=_(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,y):e3,eK=_(e,"ADD_URI_SAFE_ATTR")?S(C(eX),e.ADD_URI_SAFE_ATTR,e7):eX,eY=_(e,"ADD_DATA_URI_TAGS")?S(C(eG),e.ADD_DATA_URI_TAGS,e7):eG,eW=_(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,e7):eq,eS=_(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,e7):C({}),eC=_(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,e7):C({}),eV=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,eT=!1!==e.ALLOW_ARIA_ATTR,eM=!1!==e.ALLOW_DATA_ATTR,eP=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eO=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eD=e.SAFE_FOR_TEMPLATES||!1,eI=!1!==e.SAFE_FOR_XML,eN=e.WHOLE_DOCUMENT||!1,eB=e.RETURN_DOM||!1,eF=e.RETURN_DOM_FRAGMENT||!1,ej=e.RETURN_TRUSTED_TYPE||!1,eL=e.FORCE_BODY||!1,eU=!1!==e.SANITIZE_DOM,ez=e.SANITIZE_NAMED_PROPS||!1,e$=!1!==e.KEEP_CONTENT,eH=e.IN_PLACE||!1,ew=e.ALLOWED_URI_REGEXP||W,e0=e.NAMESPACE||eQ,e4=e.MATHML_TEXT_INTEGRATION_POINTS||e4,e5=e.HTML_INTEGRATION_POINTS||e5,eA=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eD&&(eM=!1),eF&&(eB=!0),eV&&(ex=S({},R),ek=[],!0===eV.html&&(S(ex,M),S(ek,L)),!0===eV.svg&&(S(ex,P),S(ek,B),S(ek,j)),!0===eV.svgFilters&&(S(ex,O),S(ek,B),S(ek,j)),!0===eV.mathMl&&(S(ex,I),S(ek,F),S(ek,j))),e.ADD_TAGS&&(ex===e_&&(ex=C(ex)),S(ex,e.ADD_TAGS,e7)),e.ADD_ATTR&&(ek===eE&&(ek=C(ek)),S(ek,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&S(eK,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eW===eq&&(eW=C(eW)),S(eW,e.FORBID_CONTENTS,e7)),e$&&(ex["#text"]=!0),eN&&S(ex,["html","head","body"]),ex.table&&(S(ex,["tbody"]),delete eS.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=J(Y,u)),null!==n&&"string"==typeof eo&&(eo=n.createHTML(""));a&&a(e),te=e}},ti=S({},[...P,...O,...D]),to=S({},[...I,...N]),ta=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let n=g(e.tagName),r=g(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eQ?"svg"===n:t.namespaceURI===eZ?"svg"===n&&("annotation-xml"===r||e4[r]):!!ti[n]:e.namespaceURI===eZ?t.namespaceURI===eQ?"math"===n:t.namespaceURI===eJ?"math"===n&&e5[r]:!!to[n]:e.namespaceURI===eQ?(t.namespaceURI!==eJ||!!e5[r])&&(t.namespaceURI!==eZ||!!e4[r])&&!to[n]&&(e6[n]||!ti[n]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},ts=function(e){f(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){et(e)}},tl=function(e,t){try{f(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eB||eF)try{ts(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tu=function(e){let t=null,r=null;if(eL)e=""+e;else{let t=v(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===e8&&e0===eQ&&(e=''+e+"");let i=n?n.createHTML(e):e;if(e0===eQ)try{t=new q().parseFromString(i,e8)}catch(e){}if(!t||!t.documentElement){t=ea.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?eo:i}catch(e){}}let a=t.body||t.documentElement;return(e&&r&&a.insertBefore(o.createTextNode(r),a.childNodes[0]||null),e0===eQ)?eu.call(t,eN?"html":"body")[0]:eN?t.documentElement:a},tc=function(e){return es.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},th=function(e){return e instanceof V&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},td=function(e){return"function"==typeof U&&e instanceof U};function tp(e,t,n){h(e,e=>{e.call(i,t,n,te)})}let tf=function(e){let t=null;if(tp(eh.beforeSanitizeElements,e,null),th(e))return ts(e),!0;let n=e7(e.nodeName);if(tp(eh.uponSanitizeElement,e,{tagName:n,allowedTags:ex}),eI&&e.hasChildNodes()&&!td(e.firstElementChild)&&k(/<[/\w!]/g,e.innerHTML)&&k(/<[/\w!]/g,e.textContent)||e.nodeType===Z.progressingInstruction||eI&&e.nodeType===Z.comment&&k(/<[/\w]/g,e.data))return ts(e),!0;if(!ex[n]||eS[n]){if(!eS[n]&&tg(n)&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,n)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(n)))return!1;if(e$&&!eW[n]){let t=ei(e)||e.parentNode,n=er(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=ee(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,en(e))}}}return ts(e),!0}return e instanceof z&&!ta(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&k(/<\/no(script|embed|frames)/i,e.innerHTML)?(ts(e),!0):(eD&&e.nodeType===Z.text&&(t=e.textContent,h([ed,ep,ef],e=>{t=b(t,e," ")}),e.textContent!==t&&(f(i.removed,{element:e.cloneNode()}),e.textContent=t)),tp(eh.afterSanitizeElements,e,null),!1)},tm=function(e,t,n){if(eU&&("id"===t||"name"===t)&&(n in o||n in tt))return!1;if(eM&&!eC[t]&&k(em,t));else if(eT&&k(eg,t));else if(!ek[t]||eC[t]){if(!(tg(e)&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,e)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(e))&&(eA.attributeNameCheck instanceof RegExp&&k(eA.attributeNameCheck,t)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(t))||"is"===t&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&k(eA.tagNameCheck,n)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(n))))return!1}else if(eK[t]);else if(k(ew,b(n,ev,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&eY[e]);else if(eP&&!k(ey,b(n,ev,"")));else if(n)return!1;return!0},tg=function(e){return"annotation-xml"!==e&&v(e,eb)},ty=function(e){tp(eh.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||th(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ek,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:a,namespaceURI:s,value:l}=t[o],u=e7(a),c="value"===a?l:x(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,tp(eh.uponSanitizeAttribute,e,r),c=r.attrValue,ez&&("id"===u||"name"===u)&&(tl(a,e),c="user-content-"+c),eI&&k(/((--!?|])>)|<\/(style|title)/i,c)){tl(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!eO&&k(/\/>/i,c)){tl(a,e);continue}eD&&h([ed,ep,ef],e=>{c=b(c,e," ")});let d=e7(e.nodeName);if(!tm(d,u,c)){tl(a,e);continue}if(n&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(s);else switch(Y.getAttributeType(d,u)){case"TrustedHTML":c=n.createHTML(c);break;case"TrustedScriptURL":c=n.createScriptURL(c)}if(c!==l)try{s?e.setAttributeNS(s,a,c):e.setAttribute(a,c),th(e)?ts(e):p(i.removed)}catch(t){tl(a,e)}}tp(eh.afterSanitizeAttributes,e,null)},tv=function e(t){let n=null,r=tc(t);for(tp(eh.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)tp(eh.uponSanitizeShadowNode,n,null),tf(n),ty(n),n.content instanceof c&&e(n.content);tp(eh.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if((e1=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!td(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}else throw E("toString is not a function");if(!i.isSupported)return e;if(eR||tr(t),i.removed=[],"string"==typeof e&&(eH=!1),eH){if(e.nodeName){let t=e7(e.nodeName);if(!ex[t]||eS[t])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof U)(o=(r=tu("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===Z.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!eB&&!eD&&!eN&&-1===e.indexOf("<"))return n&&ej?n.createHTML(e):e;if(!(r=tu(e)))return eB?null:ej?eo:""}r&&eL&&ts(r.firstChild);let u=tc(eH?e:r);for(;a=u.nextNode();)tf(a),ty(a),a.content instanceof c&&tv(a.content);if(eH)return e;if(eB){if(eF)for(l=el.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(ek.shadowroot||ek.shadowrootmode)&&(l=ec.call(s,l,!0)),l}let d=eN?r.outerHTML:r.innerHTML;return eN&&ex["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&k(G,r.ownerDocument.doctype.name)&&(d="\n"+d),eD&&h([ed,ep,ef],e=>{d=b(d,e," ")}),n&&ej?n.createHTML(d):d},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tr(e),eR=!0},i.clearConfig=function(){te=null,eR=!1},i.isValidAttribute=function(e,t,n){return te||tr({}),tm(e7(e),e7(t),n)},i.addHook=function(e,t){"function"==typeof t&&f(eh[e],t)},i.removeHook=function(e,t){if(void 0!==t){let n=d(eh[e],t);return -1===n?void 0:m(eh[e],n,1)[0]}return p(eh[e])},i.removeHooks=function(e){eh[e]=[]},i.removeAllHooks=function(){eh=Q()},i}()},19379:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=Array.isArray},19508:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},19639:(e,t,n)=>{"use strict";n.d(t,{hO:()=>l,sG:()=>s});var r=n(99410),i=n(55729),o=n(56760),a=n(75247);let s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,i.forwardRef)((e,n)=>{let{asChild:o,...s}=e,l=o?a.DX:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(l,(0,r.A)({},s,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}},19749:(e,t,n)=>{"use strict";n.d(t,{B:()=>C});var r=n(57672),i=n(78737),o=n(50891),a=n(17203),s=n(40574),l=n(40318),u=n(73768),c=n(32264),h=n(86938),d=n(74862);let p=[...h.T,u.y,c.f];var f=n(39017),m=n(68275),g=n(54026),y=n(95752),v=n(58838),b=n(29812),w=n(23752),x=n(89845),_=n(37946),k=n(43753),E=n(3655),A=n(64097);let S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class C{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:s,blockInitialAnimation:l,visualState:u},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=r.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=i.k.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),_.r.current||(0,x.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||_.O.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,o.WG)(this.notifyUpdate),(0,o.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=s.f.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&o.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in b.B){let t=b.B[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,w.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,l.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&((0,g.i)(n)||(0,y.$)(n)))n=parseFloat(n);else{let r;r=n,!p.find((0,d.w)(r))&&c.f.test(t)&&(n=(0,f.J)(e,t))}this.setBaseTarget(e,(0,a.S)(n)?n.get():n)}return(0,a.S)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,A.a)(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,a.S)(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new v.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){m.k.render(this.render)}}},19869:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(40574),i=n(71331);function o(e,{layout:t,layoutId:n}){return r.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!i.H[e]||"opacity"===e)}},19962:(e,t,n)=>{var r=n(50515);e.exports=function(e,t,n){for(var i=-1,o=e.length;++i{"use strict";n.d(t,{T:()=>u});var r=n(6029),i=n(21938),o=n(49146),a=n(61400),s=n(45460),l=n(2241);let u=(0,s.R)(function(e,t){let n=(0,a.uo)(e),s=(0,o.e)();return(0,r.jsx)(l.B.div,{...n,width:"100%",ref:t,className:(0,i.cx)("chakra-tabs__tab-panels",e.className),__css:s.tabpanels})});u.displayName="TabPanels"},20134:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(45155),i=n(15650);let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function s(e,{attrX:t,attrY:n,attrScale:s,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...h},d,p,f){if((0,r.O)(e,h,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:m,style:g}=e;m.transform&&(g.transform=m.transform,delete m.transform),(g.transform||m.transformOrigin)&&(g.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),g.transform&&(g.transformBox=f?.transformBox??"fill-box",delete m.transformBox),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==s&&(m.scale=s),void 0!==l&&function(e,t,n=1,r=0,s=!0){e.pathLength=1;let l=s?o:a;e[l.offset]=i.px.transform(-r);let u=i.px.transform(t),c=i.px.transform(n);e[l.array]=`${u} ${c}`}(m,l,u,c,!1)}},20880:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(51927);let i=function(e){return"number"==typeof e&&e==(0,r.A)(e)}},20954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let r=n(30758)._(n(55729)),i=n(10140),o=[],a=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){let t=new u(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=n.webpack&&1?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function c(e,t){l();let a=r.default.useContext(i.LoadableContext);a&&Array.isArray(n.modules)&&n.modules.forEach(e=>{a(e)});let s=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),r.default.useMemo(()=>{var t;return s.loading||s.error?r.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:o.retry}):s.loaded?r.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>l(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(l,e)}function h(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return h(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{h(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());h(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let d=c},21033:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(56121),i=n.n(r),o=n(55729),a=n(12364),s=n.n(a);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var m={width:"100%",height:"100%"};function g(e){var t,n,r,i,a,g,y,v,b,w,x,_,k,E,A,S,C=e.className,T=e.children,M=e.debounceTime,P=e.ignoreDimensions,O=e.initialSize,D=e.parentSizeStyles,I=e.enableDebounceLeadingCall,N=e.resizeObserverPolyfill,R=f(e,h),L=(r=void 0===(n=(t={initialSize:O,debounceTime:M,ignoreDimensions:P,enableDebounceLeadingCall:void 0===I||I,resizeObserverPolyfill:N}).initialSize)?c:n,a=void 0===(i=t.debounceTime)?300:i,y=void 0===(g=t.ignoreDimensions)?u:g,b=void 0===(v=t.enableDebounceLeadingCall)||v,w=t.resizeObserverPolyfill,x=(0,o.useRef)(null),_=(0,o.useRef)(0),E=(k=(0,o.useState)(l({},c,r)))[0],A=k[1],S=(0,o.useMemo)(function(){var e=Array.isArray(y)?y:[y];return s()(function(t){A(function(n){return Object.keys(n).filter(function(e){return n[e]!==t[e]}).every(function(t){return e.includes(t)})?n:t})},a,{leading:b})},[a,b,y]),(0,o.useEffect)(function(){var e=new(w||window.ResizeObserver)(function(e){e.forEach(function(e){var t,n=null!=(t=null==e?void 0:e.contentRect)?t:{},r=n.left,i=n.top,o=n.width,a=n.height;_.current=window.requestAnimationFrame(function(){S({width:o,height:a,top:i,left:r})})})});return x.current&&e.observe(x.current),function(){window.cancelAnimationFrame(_.current),e.disconnect(),S.cancel()}},[S,w]),l({parentRef:x,resize:S},E)),B=L.parentRef,F=L.resize,j=f(L,d);return o.createElement("div",p({style:void 0===D?m:D,ref:B,className:C},R),T(p({},j,{ref:B.current,resize:F})))}g.propTypes={className:i().string,children:i().func.isRequired}},21157:(e,t,n)=>{var r=n(60567),i=n(6797);e.exports=function(e){return i(r(e).toLowerCase())}},21224:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let r={value:null,addProjectionMetrics:null}},21315:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a});var r=n(39099);function i(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}var o=n(11027);let a=function e(t){var n=(0,o.uN)(t);function i(e,t){var i=n((e=(0,r.Qh)(e)).r,(t=(0,r.Qh)(t)).r),a=n(e.g,t.g),s=n(e.b,t.b),l=(0,o.Ay)(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=a(t),e.b=s(t),e.opacity=l(t),e+""}}return i.gamma=e,i}(1);function s(e){return function(t){var n,i,o=t.length,a=Array(o),s=Array(o),l=Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],a=e[r+1],s=r>0?e[r-1]:2*o-a,l=r{"use strict";n.d(t,{JM:()=>l,Kd:()=>s,Wk:()=>u,a$:()=>a});var r=n(12549),i=n(80794);let o=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get:()=>JSON.stringify(t,i.k8,2),enumerable:!0}),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},a=(0,r.xI)("$ZodError",o),s=(0,r.xI)("$ZodError",o,{Parent:Error});function l(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function u(e,t){let n=t||function(e){return e.message},r={_errors:[]},i=e=>{for(let t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>i({issues:e}));else if("invalid_key"===t.code)i({issues:t.issues});else if("invalid_element"===t.code)i({issues:t.issues});else if(0===t.path.length)r._errors.push(n(t));else{let e=r,i=0;for(;i{"use strict";n.d(t,{M:()=>h});var r=n(34142),i=n(30062),o=n(43039),a=n(55729);let s=!1,l=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},50))}function c(){if("undefined"!=typeof document)return 0===l&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",u),l++,()=>{--l>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function h(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:l,isDisabled:u}=e,[h,d]=(0,a.useState)(!1),p=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(c,[]);let{addGlobalListener:f,removeAllGlobalListeners:m}=(0,r.A)(),{hoverProps:g,triggerHoverEnd:y}=(0,a.useMemo)(()=>{let e=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,m(),l&&l({type:"hoverend",target:r,pointerType:t}),n&&n(!1),d(!1))},r={};return"undefined"!=typeof PointerEvent&&(r.onPointerEnter=r=>{s&&"mouse"===r.pointerType||((r,a)=>{if(p.pointerType=a,u||"touch"===a||p.isHovered||!r.currentTarget.contains(r.target))return;p.isHovered=!0;let s=r.currentTarget;p.target=s,f((0,i.TW)(r.target),"pointerover",t=>{p.isHovered&&p.target&&!(0,o.sD)(p.target,t.target)&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:a}),n&&n(!0),d(!0)})(r,r.pointerType)},r.onPointerLeave=t=>{!u&&t.currentTarget.contains(t.target)&&e(t,t.pointerType)}),{hoverProps:r,triggerHoverEnd:e}},[t,n,l,u,p,f,m]);return(0,a.useEffect)(()=>{u&&y({currentTarget:p.target},p.pointerType)},[u]),{hoverProps:g,isHovered:h}}},21832:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l{var r=n(95814);r.prototype.toPostfix=function(){"use strict";for(var e,t,n,i,o,a=[],s=[{value:"(",type:4,pre:0}],l=this.value,u=1;un)s.push(e);else{for(;n>=i&&!c||c&&i{var r=n(17806),i=n(48877),o=n(11061),a=parseFloat,s=Math.min,l=Math.random;e.exports=function(e,t,n){if(n&&"boolean"!=typeof n&&i(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=o(e),void 0===t?(t=e,e=0):t=o(t)),e>t){var u=e;e=t,t=u}if(n||e%1||t%1){var c=l();return s(e+c*(t-e+a("1e-"+((c+"").length-1))),t)}return r(e,t)}},22847:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{G:()=>r})},22853:(e,t,n)=>{"use strict";var r=n(5210),i=n(74373),o=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,u=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function h(e){return(e||"").toString().replace(o,"")}var d=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1};function f(e){var t,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},i={},o=typeof(e=e||r);if("blob:"===e.protocol)i=new y(unescape(e.pathname),{});else if("string"===o)for(t in i=new y(e,{}),p)delete i[t];else if("object"===o){for(t in e)t in p||(i[t]=e[t]);void 0===i.slashes&&(i.slashes=s.test(e.href))}return i}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=h(e)).replace(a,""),t=t||{};var n,r=u.exec(e),i=r[1]?r[1].toLowerCase():"",o=!!r[2],s=!!r[3],l=0;return o?s?(n=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(n=r[2]+r[4],l=r[2].length):s?(n=r[3]+r[4],l=r[3].length):n=r[4],"file:"===i?l>=2&&(n=n.slice(2)):m(i)?n=r[4]:i?o&&(n=n.slice(2)):l>=2&&m(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||m(i),slashesCount:l,rest:n}}function y(e,t,n){if(e=(e=h(e)).replace(a,""),!(this instanceof y))return new y(e,t,n);var o,s,l,u,p,v,b=d.slice(),w=typeof t,x=0;for("object"!==w&&"string"!==w&&(n=t,t=null),n&&"function"!=typeof n&&(n=i.parse),o=!(s=g(e||"",t=f(t))).protocol&&!s.slashes,this.slashes=s.slashes||o&&t.slashes,this.protocol=s.protocol||t.protocol||"",e=s.rest,("file:"===s.protocol&&(2!==s.slashesCount||c.test(e))||!s.slashes&&(s.protocol||s.slashesCount<2||!m(this.protocol)))&&(b[3]=[/(.*)/,"pathname"]);x{"use strict";n.d(t,{k:()=>r});let r=(e,t,n)=>e+(t-e)*n},23015:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>o,_m:()=>s,my:()=>r,s0:()=>a,w4:()=>i});let r=6048e5,i=864e5,o=6e4,a=36e5,s=1e3},23148:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r={lessThanXSeconds:{one:"کمتر از یک ثانیه",other:"کمتر از {{count}} ثانیه"},xSeconds:{one:"1 ثانیه",other:"{{count}} ثانیه"},halfAMinute:"نیم دقیقه",lessThanXMinutes:{one:"کمتر از یک دقیقه",other:"کمتر از {{count}} دقیقه"},xMinutes:{one:"1 دقیقه",other:"{{count}} دقیقه"},aboutXHours:{one:"حدود 1 ساعت",other:"حدود {{count}} ساعت"},xHours:{one:"1 ساعت",other:"{{count}} ساعت"},xDays:{one:"1 روز",other:"{{count}} روز"},aboutXWeeks:{one:"حدود 1 هفته",other:"حدود {{count}} هفته"},xWeeks:{one:"1 هفته",other:"{{count}} هفته"},aboutXMonths:{one:"حدود 1 ماه",other:"حدود {{count}} ماه"},xMonths:{one:"1 ماه",other:"{{count}} ماه"},aboutXYears:{one:"حدود 1 سال",other:"حدود {{count}} سال"},xYears:{one:"1 سال",other:"{{count}} سال"},overXYears:{one:"بیشتر از 1 سال",other:"بیشتر از {{count}} سال"},almostXYears:{one:"نزدیک 1 سال",other:"نزدیک {{count}} سال"}},i=n(81716),o={date:(0,i.A)({formats:{full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},defaultWidth:"full"}),time:(0,i.A)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.A)({formats:{full:"{{date}} 'در' {{time}}",long:"{{date}} 'در' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'گذشته در' p",yesterday:"'دیروز در' p",today:"'امروز در' p",tomorrow:"'فردا در' p",nextWeek:"eeee 'در' p",other:"P"},s=n(93730),l={ordinalNumber:function(e){return String(e)},era:(0,s.A)({values:{narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل از میلاد","بعد از میلاد"]},defaultWidth:"wide"}),quarter:(0,s.A)({values:{narrow:["1","2","3","4"],abbreviated:["س‌م1","س‌م2","س‌م3","س‌م4"],wide:["سه‌ماهه 1","سه‌ماهه 2","سه‌ماهه 3","سه‌ماهه 4"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,s.A)({values:{narrow:["ژ","ف","م","آ","م","ج","ج","آ","س","ا","ن","د"],abbreviated:["ژانـ","فور","مارس","آپر","می","جون","جولـ","آگو","سپتـ","اکتـ","نوامـ","دسامـ"],wide:["ژانویه","فوریه","مارس","آپریل","می","جون","جولای","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},defaultWidth:"wide"}),day:(0,s.A)({values:{narrow:["ی","د","س","چ","پ","ج","ش"],short:["1ش","2ش","3ش","4ش","5ش","ج","ش"],abbreviated:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],wide:["یکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},defaultWidth:"wide"}),dayPeriod:(0,s.A)({values:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultWidth:"wide",formattingValues:{narrow:{am:"ق",pm:"ب",midnight:"ن",noon:"ظ",morning:"ص",afternoon:"ب.ظ.",evening:"ع",night:"ش"},abbreviated:{am:"ق.ظ.",pm:"ب.ظ.",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"},wide:{am:"قبل‌ازظهر",pm:"بعدازظهر",midnight:"نیمه‌شب",noon:"ظهر",morning:"صبح",afternoon:"بعدازظهر",evening:"عصر",night:"شب"}},defaultFormattingWidth:"wide"})},u=n(89252),c=n(25696);let h={code:"fa-IR",formatDistance:function(e,t,n){var i;if(n=n||{},i="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix)if(n.comparison>0)return"در "+i;else return i+" قبل";return i},formatLong:o,formatRelative:function(e,t,n,r){return a[e]},localize:l,match:{ordinalNumber:(0,u.A)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,c.A)({matchPatterns:{narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^قبل/i,/^بعد/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^س‌م[1234]/i,wide:/^سه‌ماهه [1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,c.A)({matchPatterns:{narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سه‌شنبه|چهارشنبه|پنج‌شنبه|جمعه|شنبه)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سه‌شنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبل‌ازظهر|نیمه‌شب|ظهر|صبح|بعدازظهر|عصر|شب)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(ق|ق.ظ.|قبل‌ازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(‌نیمه‌شب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},defaultParseWidth:"any"})},options:{weekStartsOn:6,firstWeekContainsDate:1}}},23275:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55729),i=n(75828),o=n.n(i),a=["children","className","innerRef","x","y","width","height","radius","all","top","bottom","left","right","topLeft","topRight","bottomLeft","bottomRight"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a),j=(n=(t={x:E,y:A,width:S,height:C,radius:T,all:void 0!==M&&M,top:void 0!==P&&P,bottom:void 0!==O&&O,left:void 0!==D&&D,right:void 0!==I&&I,topLeft:void 0!==N&&N,topRight:void 0!==R&&R,bottomLeft:void 0!==L&&L,bottomRight:void 0!==B&&B}).all,i=t.bottom,l=t.bottomLeft,u=t.bottomRight,c=t.height,h=t.left,d=t.radius,p=t.right,f=t.top,m=t.topLeft,g=t.topRight,y=t.width,v=t.x,b=t.y,g=n||f||p||g,u=n||i||p||u,l=n||i||h||l,m=n||f||h||m,w=2*(d=Math.max(1,Math.min(d,Math.min(y,c)/2))),("M"+(v+d)+","+b+" h"+(y-w)+"\n "+(g?"a"+d+","+d+" 0 0 1 "+d+","+d:"h"+d+"v"+d)+"\n v"+(c-w)+"\n "+(u?"a"+d+","+d+" 0 0 1 "+-d+","+d:"v"+d+"h"+-d)+"\n h"+(w-y)+"\n "+(l?"a"+d+","+d+" 0 0 1 "+-d+","+-d:"h"+-d+"v"+-d)+"\n v"+(w-c)+"\n "+(m?"a"+d+","+d+" 0 0 1 "+d+","+-d:"v"+-d+"h"+d)+"\nz").split("\n").join(""));return x?r.createElement(r.Fragment,null,x({path:j})):r.createElement("path",s({ref:k,className:o()("visx-bar-rounded",_),d:j},F))}},23417:(e,t,n)=>{"use strict";n.d(t,{OU:()=>u,Ql:()=>c,Ww:()=>d,hq:()=>o,o4:()=>l});var r=n(22942),i=n(5224);function o(e,t,n){return n+t*(e-n)}function a(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function s(e,t=0,n=1,r,i){e.min=a(e.min,t,n,r,i),e.max=a(e.max,t,n,r,i)}function l(e,{x:t,y:n}){s(e.x,t.translate,t.scale,t.originPoint),s(e.y,n.translate,n.scale,n.originPoint)}function u(e,t,n,r=!1){let o,a,s=n.length;if(s){t.x=t.y=1;for(let u=0;u.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function c(e,t){e.min=e.min+t,e.max=e.max+t}function h(e,t,n,i,o=.5){let a=(0,r.k)(e.min,e.max,o);s(e,t,n,a,i)}function d(e,t){h(e.x,t.x,t.scaleX,t.scale,t.originX),h(e.y,t.y,t.scaleY,t.scale,t.originY)}},23611:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(13337);function i(e,t){return+(0,r.a)(e)<+(0,r.a)(t)}},23752:(e,t,n)=>{"use strict";n.d(t,{ge:()=>a,xU:()=>i});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),o=()=>({min:0,max:0}),a=()=>({x:o(),y:o()})},23813:(e,t,n)=>{"use strict";n.d(t,{RK:()=>a,TT:()=>r,hN:()=>function e(t,n,s,l,u,c,h){if(1===t.length&&(0,i.eW)(t[0]))return[{type:r.literal,value:t[0].value}];for(var d=[],p=0;p{"use strict";n.d(t,{w:()=>c});var r=n(6029),i=n(19889),o=n(21938),a=n(49146),s=n(61400),l=n(45460),u=n(2241);let c=(0,l.R)(function(e,t){let n=(0,s.$c)({...e,ref:t}),l=(0,a.e)(),c=(0,i.H2)({display:"flex",...l.tablist});return(0,r.jsx)(u.B.div,{...n,className:(0,o.cx)("chakra-tabs__tablist",e.className),__css:c})});c.displayName="TabList"},23995:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(99772),i=n(51645),o=n(94916),a=n(61036),s=n(115),l=n(64816);function u(e,t){return(0,l.A)(1,arguments),function(e,t){var n,u,c,h,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,l.A)(2,arguments);var p=d.locale||s.A;if(!p.formatDistance)throw RangeError("locale must contain localize.formatDistance property");var f=(0,i.A)(e,t);if(isNaN(f))throw RangeError("Invalid time value");var m=(0,a.A)(d);m.addSuffix=!!d.addSuffix,m.comparison=f,f>0?(n=(0,o.A)(t),u=(0,o.A)(e)):(n=(0,o.A)(e),u=(0,o.A)(t));var g=null==d.roundingMethod?"round":String(d.roundingMethod);if("floor"===g)c=Math.floor;else if("ceil"===g)c=Math.ceil;else if("round"===g)c=Math.round;else throw RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var y=u.getTime()-n.getTime(),v=y/6e4,b=(y-((0,r.A)(u)-(0,r.A)(n)))/6e4;if("second"===(h=null==d.unit?v<1?"second":v<60?"minute":v<1440?"hour":b<43200?"day":b<525600?"month":"year":String(d.unit))){var w=c(y/1e3);return p.formatDistance("xSeconds",w,m)}if("minute"===h){var x=c(v);return p.formatDistance("xMinutes",x,m)}if("hour"===h){var _=c(v/60);return p.formatDistance("xHours",_,m)}if("day"===h){var k=c(b/1440);return p.formatDistance("xDays",k,m)}if("month"===h){var E=c(b/43200);return 12===E&&"month"!==d.unit?p.formatDistance("xYears",1,m):p.formatDistance("xMonths",E,m)}else if("year"===h){var A=c(b/525600);return p.formatDistance("xYears",A,m)}throw RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}(e,Date.now(),t)}},24170:(e,t,n)=>{e.exports=n(83367)},24347:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(55729),i=n(35896);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},24390:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(50674),i=1/0;let o=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},24772:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(29652),i=n(55729),o=n(30062),a=n(43039);function s(e){let{isDisabled:t,onFocus:n,onBlur:s,onFocusChange:l}=e,u=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return s&&s(e),l&&l(!1),!0},[s,l]),c=(0,r.yB)(u),h=(0,i.useCallback)(e=>{let t=(0,o.TW)(e.target),r=t?(0,a.bq)(t):(0,a.bq)();e.target===e.currentTarget&&r===(0,a.wt)(e.nativeEvent)&&(n&&n(e),l&&l(!0),c(e))},[l,n,c]);return{focusProps:{onFocus:!t&&(n||l||s)?h:void 0,onBlur:!t&&(s||l)?u:void 0}}}},24839:(e,t,n)=>{"use strict";n.d(t,{HF:()=>o,_X:()=>i});let r=new(n(63867)).hs("collab");function i(e){let t=r.getState(e);return 0==t.unconfirmed.length?null:{version:t.version,steps:t.unconfirmed.map(e=>e.step),clientID:r.get(e).spec.config.clientID,get origins(){return this._origins||(this._origins=t.unconfirmed.map(e=>e.origin))}}}function o(e){return r.getState(e).version}},25125:(e,t,n)=>{"use strict";function r(e,t){return e?.[t]??e?.default??e}n.d(t,{r:()=>r})},25187:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(13337),i=n(31952);function o(e,t){var n,o,a,s,l,u,c,h;let d=(0,i.q)(),p=null!=(h=null!=(c=null!=(u=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(o=t.locale)||null==(n=o.options)?void 0:n.weekStartsOn)?u:d.weekStartsOn)?c:null==(s=d.locale)||null==(a=s.options)?void 0:a.weekStartsOn)?h:0,f=(0,r.a)(e),m=f.getDay();return f.setDate(f.getDate()-(7*(m{"use strict";t.__esModule=!0,t.STACK_ORDER_NAMES=t.STACK_ORDERS=void 0,t.default=function(e){return e&&i[e]||i.none};var r=n(35070),i={ascending:r.stackOrderAscending,descending:r.stackOrderDescending,insideout:r.stackOrderInsideOut,none:r.stackOrderNone,reverse:r.stackOrderReverse};t.STACK_ORDERS=i,t.STACK_ORDER_NAMES=Object.keys(i)},25256:(e,t,n)=>{var r=n(66678),i=n(98888),o=Math.max;e.exports=function(e,t,n){var a=null==e?0:e.length;if(!a)return -1;var s=null==n?0:i(n);return s<0&&(s=o(a+s,0)),r(e,t,s)}},25269:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}n.d(t,{m:()=>r})},25650:(e,t,n)=>{var r=n(97722),i=n(86891);e.exports=function(e){return i(r(e))}},25684:(e,t,n)=>{"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>i,Kq:()=>r})},25690:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(23015),i=n(13337);function o(e){let t=(0,i.a)(e);return t.setHours(0,0,0,0),t}var a=n(7352);function s(e,t){let n=(0,i.a)(e),s=(0,i.a)(t),u=l(n,s),c=Math.abs(function(e,t){let n=o(e),i=o(t);return Math.round((n-(0,a.G)(n)-(i-(0,a.G)(i)))/r.w4)}(n,s));n.setDate(n.getDate()-u*c);let h=Number(l(n,s)===-u),d=u*(c-h);return 0===d?0:d}function l(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},25725:(e,t,n)=>{var r=n(81648),i=n(78492),o=n(68988),a=n(91544);e.exports=function(e,t){return function(n,s){var l=a(n)?r:i,u=t?t():{};return l(n,e,o(s,2),u)}}},25903:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(22847);function i(e){return(0,r.G)(e)&&"offsetHeight"in e}},25927:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(55729),i=["tooltipOpen"];function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,i);return o({},e(n),{tooltipOpen:!0})}:{tooltipOpen:!0,tooltipLeft:e.tooltipLeft,tooltipTop:e.tooltipTop,tooltipData:e.tooltipData})},[a]),l=(0,r.useCallback)(function(){return a({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})},[a]);return{tooltipOpen:n.tooltipOpen,tooltipLeft:n.tooltipLeft,tooltipTop:n.tooltipTop,tooltipData:n.tooltipData,updateTooltip:a,showTooltip:s,hideTooltip:l}}},25960:(e,t,n)=>{"use strict";n.d(t,{BN:()=>p,UU:()=>f,cY:()=>d,we:()=>h});var r=n(7803),i=n(55729),o=n(56760),a="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function h(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:h=[],platform:d,elements:{reference:p,floating:f}={},transform:m=!0,whileElementsMounted:g,open:y}=e,[v,b]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=i.useState(h);s(w,h)||x(h);let[_,k]=i.useState(null),[E,A]=i.useState(null),S=i.useCallback(e=>{e!==P.current&&(P.current=e,k(e))},[]),C=i.useCallback(e=>{e!==O.current&&(O.current=e,A(e))},[]),T=p||_,M=f||E,P=i.useRef(null),O=i.useRef(null),D=i.useRef(v),I=null!=g,N=c(g),R=c(d),L=c(y),B=i.useCallback(()=>{if(!P.current||!O.current)return;let e={placement:t,strategy:n,middleware:w};R.current&&(e.platform=R.current),(0,r.rD)(P.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};F.current&&!s(D.current,t)&&(D.current=t,o.flushSync(()=>{b(t)}))})},[w,t,n,R,L]);a(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[y]);let F=i.useRef(!1);a(()=>(F.current=!0,()=>{F.current=!1}),[]),a(()=>{if(T&&(P.current=T),M&&(O.current=M),T&&M){if(N.current)return N.current(T,M,B);B()}},[T,M,B,N,I]);let j=i.useMemo(()=>({reference:P,floating:O,setReference:S,setFloating:C}),[S,C]),U=i.useMemo(()=>({reference:T,floating:M}),[T,M]),z=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!U.floating)return e;let t=u(U.floating,v.x),r=u(U.floating,v.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,U.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:B,refs:j,elements:U,floatingStyles:z}),[v,B,j,U,z])}let d=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),f=(e,t)=>({...(0,r.UU)(e),options:[e,t]})},26302:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(6627),i=n(17203);function o(e,t){let n=e.getValue("willChange");if((0,i.S)(n)&&n.add)return n.add(t);if(!n&&r.W.WillChange){let n=new r.W.WillChange("auto");e.addValue("willChange",n),n.add(t)}}},26387:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{"use strict";n.d(t,{u:()=>u});var r=n(6029),i=n(5858),o=n(21938),a=n(45460),s=n(8527),l=n(2241);let u=(0,a.R)(function(e,t){let n=(0,s.V)("Kbd",e),{className:a,...u}=(0,i.M)(e);return(0,r.jsx)(l.B.kbd,{ref:t,className:(0,o.cx)("chakra-kbd",a),...u,__css:{fontFamily:"mono",...n}})});u.displayName="Kbd"},26658:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55729),i=n(75828),o=n.n(i),a=["className","innerRef"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,a);return r.createElement("rect",s({ref:n,className:o()("visx-bar",t)},i))}},26936:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return e===t||e!=e&&t!=t}},27133:(e,t,n)=>{"use strict";e.exports=n(85596)},27423:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r,i=n(81705),o=n(55729);let a=null!=(r=o.useInsertionEffect)?r:i.N;function s(e){let t=(0,o.useRef)(null);return a(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let n=t.current;return null==n?void 0:n(...e)},[])}},27473:(e,t,n)=>{"use strict";n.d(t,{HM:()=>s,JF:()=>l,bN:()=>c,yU:()=>u});var r=n(45286),i=n(55729),o=n(48517),a=n(74251);function s(e){(0,o.V1)(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}var l=(0,r.Cl)((0,r.Cl)({},a.JF),{textComponent:i.Fragment});function u(e){return function(t){return e(i.Children.toArray(t))}}function c(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o{"use strict";let r;n.d(t,{lg:()=>y,qW:()=>d,bL:()=>g});var i=n(99410),o=n(55729),a=n(25269),s=n(19639),l=n(40041),u=n(9613);let c="dismissableLayer.update",h=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=(0,o.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:d=!1,onEscapeKeyDown:p,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:v,onDismiss:b,...w}=e,x=(0,o.useContext)(h),[_,k]=(0,o.useState)(null),E=null!=(n=null==_?void 0:_.ownerDocument)?n:null==globalThis?void 0:globalThis.document,[,A]=(0,o.useState)({}),S=(0,l.s)(t,e=>k(e)),C=Array.from(x.layers),[T]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),M=C.indexOf(T),P=_?C.indexOf(_):-1,O=x.layersWithOutsidePointerEventsDisabled.size>0,D=P>=M,I=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,u.c)(e),r=(0,o.useRef)(!1),i=(0,o.useRef)(()=>{});return(0,o.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function o(){m("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));D&&!n&&(null==g||g(e),null==v||v(e),e.defaultPrevented||null==b||b())},E),N=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,u.c)(e),r=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{let e=e=>{e.target&&!r.current&&m("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(null==y||y(e),null==v||v(e),e.defaultPrevented||null==b||b())},E);return!function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,u.c)(e);(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{P===x.layers.size-1&&(null==p||p(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},E),(0,o.useEffect)(()=>{if(_)return d&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(_)),x.layers.add(_),f(),()=>{d&&1===x.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=r)}},[_,E,d,x]),(0,o.useEffect)(()=>()=>{_&&(x.layers.delete(_),x.layersWithOutsidePointerEventsDisabled.delete(_),f())},[_,x]),(0,o.useEffect)(()=>{let e=()=>A({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,o.createElement)(s.sG.div,(0,i.A)({},w,{ref:S,style:{pointerEvents:O?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,I.onPointerDownCapture)}))}),p=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(h),r=(0,o.useRef)(null),a=(0,l.s)(t,r);return(0,o.useEffect)(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,o.createElement)(s.sG.div,(0,i.A)({},e,{ref:a}))});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,s.hO)(i,o):i.dispatchEvent(o)}let g=d,y=p},27932:(e,t,n)=>{"use strict";n.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,fX:()=>s});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function s(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i{"use strict";n.d(t,{k:()=>i});var r=n(31812);function i(e,t){var n;return n=-t,(0,r.f)(e,7*n)}},28522:(e,t,n)=>{"use strict";n.d(t,{Fq:()=>s,JJ:()=>o,MP:()=>u,Nm:()=>a,Pv:()=>l,Tt:()=>r,rR:()=>i});let r=1e3,i=6e4,o=36e5,a=864e5,s=6048e5,l=2592e6,u=31536e6},28816:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=e=>()=>e},29008:(e,t,n)=>{"use strict";n.d(t,{C6:()=>i,Cl:()=>o,fX:()=>a});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";n.d(t,{xQ:()=>o});var r=n(55729),i=n(32639);function o(e=!0){let t=(0,r.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:a,register:s}=t,l=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return s(l)},[e]);let u=(0,r.useCallback)(()=>e&&a&&a(l),[l,a,e]);return!n&&a?[!1,u]:[!0]}},29123:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});class r extends Map{constructor(e,t=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(n),e.delete(r)),n}(this,e))}}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function o(e){return null!==e&&"object"==typeof e?e.valueOf():e}function a(e){return e}function s(e,...t){var n,i,o,l;return n=e,i=a,o=a,l=t,function e(t,n){if(n>=l.length)return o(t);let a=new r,s=l[n++],u=-1;for(let e of t){let n=s(e,++u,t),r=a.get(n);r?r.push(e):a.set(n,[e])}for(let[t,r]of a)a.set(t,e(r,n));return i(a)}(n,0)}},29255:(e,t,n)=>{"use strict";n.d(t,{X:()=>i,f:()=>r});let r=e=>1e3*e,i=e=>e/1e3},29545:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(94182),i=n(55729);let{useSyncExternalStoreWithSelector:o}=n(92650),a=e=>{let t="function"==typeof e?(0,r.A)(e):e,n=(e,n)=>(function(e,t=e.getState,n){let r=o(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return(0,i.useDebugValue)(r),r})(t,e,n);return Object.assign(n,t),n};var s=e=>e?a(e):a},29594:(e,t,n)=>{var r=n(84536);e.exports=n(15565)(function(e,t){return null==e?{}:r(e,t)})},29652:(e,t,n)=>{"use strict";n.d(t,{eg:()=>a,lR:()=>u,o1:()=>s,yB:()=>l});var r=n(81705),i=n(27423),o=n(55729);function a(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function s(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function l(e){let t=(0,o.useRef)({isFocused:!1,observer:null});(0,r.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let n=(0,i.J)(t=>{null==e||e(t)});return(0,o.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{t.current.isFocused=!1,r.disabled&&n(a(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null==(e=t.current.observer)||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let u=!1},29766:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r={};n.r(r),n.d(r,{BRAND:()=>s.qt,DIRTY:()=>o.jm,EMPTY_PATH:()=>o.I3,INVALID:()=>o.uY,NEVER:()=>s.tm,OK:()=>o.OK,ParseStatus:()=>o.MY,Schema:()=>s.Sj,ZodAny:()=>s.Ml,ZodArray:()=>s.n,ZodBigInt:()=>s.Lr,ZodBoolean:()=>s.WF,ZodBranded:()=>s.eN,ZodCatch:()=>s.hw,ZodDate:()=>s.aP,ZodDefault:()=>s.Xi,ZodDiscriminatedUnion:()=>s.jv,ZodEffects:()=>s.k1,ZodEnum:()=>s.Vb,ZodError:()=>l.G,ZodFirstPartyTypeKind:()=>s.kY,ZodFunction:()=>s.CZ,ZodIntersection:()=>s.Jv,ZodIssueCode:()=>l.eq,ZodLazy:()=>s.Ih,ZodLiteral:()=>s.DN,ZodMap:()=>s.Ut,ZodNaN:()=>s.Tq,ZodNativeEnum:()=>s.WM,ZodNever:()=>s.iS,ZodNull:()=>s.PQ,ZodNullable:()=>s.l1,ZodNumber:()=>s.rS,ZodObject:()=>s.bv,ZodOptional:()=>s.Ii,ZodParsedType:()=>a.Zp,ZodPipeline:()=>s._c,ZodPromise:()=>s.$i,ZodReadonly:()=>s.EV,ZodRecord:()=>s.b8,ZodSchema:()=>s.lK,ZodSet:()=>s.Kz,ZodString:()=>s.ND,ZodSymbol:()=>s.K5,ZodTransformer:()=>s.BG,ZodTuple:()=>s.y0,ZodType:()=>s.aR,ZodUndefined:()=>s._Z,ZodUnion:()=>s.fZ,ZodUnknown:()=>s._,ZodVoid:()=>s.a0,addIssueToContext:()=>o.zn,any:()=>s.bz,array:()=>s.YO,bigint:()=>s.o,boolean:()=>s.zM,coerce:()=>s.au,custom:()=>s.Ie,date:()=>s.p6,datetimeRegex:()=>s.fm,defaultErrorMap:()=>i.su,discriminatedUnion:()=>s.gM,effect:()=>s.QZ,enum:()=>s.k5,function:()=>s.fH,getErrorMap:()=>i.$W,getParsedType:()=>a.CR,instanceof:()=>s.Nl,intersection:()=>s.E$,isAborted:()=>o.G4,isAsync:()=>o.xP,isDirty:()=>o.DM,isValid:()=>o.fn,late:()=>s.fn,lazy:()=>s.RZ,literal:()=>s.eu,makeIssue:()=>o.y7,map:()=>s.Tj,nan:()=>s.oi,nativeEnum:()=>s.fc,never:()=>s.Zm,null:()=>s.ch,nullable:()=>s.me,number:()=>s.ai,object:()=>s.Ik,objectUtil:()=>a.o6,oboolean:()=>s.yN,onumber:()=>s.p7,optional:()=>s.lq,ostring:()=>s.Di,pipeline:()=>s.Tk,preprocess:()=>s.vk,promise:()=>s.iv,quotelessJson:()=>l.WI,record:()=>s.g1,set:()=>s.hZ,setErrorMap:()=>i.pJ,strictObject:()=>s.re,string:()=>s.Yj,symbol:()=>s.HR,transformer:()=>s.Gu,tuple:()=>s.PV,undefined:()=>s.Vx,union:()=>s.KC,unknown:()=>s.L5,util:()=>a.ZS,void:()=>s.rI});var i=n(78974),o=n(8722),a=n(45859),s=n(6663),l=n(64892);let u=r},29768:(e,t,n)=>{"use strict";n.d(t,{Tr:()=>s});var r=n(6029),i=n(41960),o=n(45460),a=n(2241);let s=(0,o.R)((e,t)=>{let n=(0,i.k)();return(0,r.jsx)(a.B.tr,{...e,ref:t,__css:n.tr})})},29812:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});let r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i={};for(let e in r)i[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},29903:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},29917:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(79696);function i(e){return(e=(0,r.f)(Math.abs(e)))?e[1]:NaN}},30062:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>o,TW:()=>r,mD:()=>i});let r=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function o(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},30227:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6855),i=n(509),o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;nr-o?(l[1]>s.top||rl[1])&&(u[1]=1),s.left>n-o?(l[0]>s.left||nl[0])&&(u[0]=1),(!!u[0]||!!u[1])&&this._continueDrag(a(a({},t),{direction:u,inputEvent:e,isDrag:!0}))}},r.checkScroll=function(e){var t=this;if(this._isWait)return!1;var n=e.prevScrollPos,r=void 0===n?this._prevScrollPos:n,i=e.direction,o=e.throttleTime,a=void 0===o?0:o,s=e.inputEvent,l=e.isDrag,u=this._getScrollPosition(i||[0,0],e),c=u[0]-r[0],h=u[1]-r[1],d=i||[c?Math.abs(c)/c:0,h?Math.abs(h)/h:0];return this._prevScrollPos=u,this._lock=!1,(!!c||!!h)&&(this.emit("move",{offsetX:d[0]?c:0,offsetY:d[1]?h:0,inputEvent:s}),a&&l&&(clearTimeout(this._timer),this._timer=window.setTimeout(function(){t._continueDrag(e)},a)),!0)},r.dragEnd=function(){this._flag=!1,this._lock=!1,clearTimeout(this._timer),this._unregisterScrollEvent()},r._getScrollPosition=function(e,t){var n=t.container,r=t.getScrollPosition;return(void 0===r?function(e){var t=e.container;return t===document.body?[t.scrollLeft||document.documentElement.scrollLeft,t.scrollTop||document.documentElement.scrollTop]:[t.scrollLeft,t.scrollTop]}:r)({container:l(n),direction:e})},r._continueDrag=function(e){var t,n=this,r=e.container,o=e.direction,s=e.throttleTime,u=e.useScroll,c=e.isDrag,h=e.inputEvent;if(this._flag&&(!c||!this._isWait)){var d=(0,i.tB)(),p=Math.max(s+this._prevTime-d,0);if(p>0)return clearTimeout(this._timer),this._timer=window.setTimeout(function(){n._continueDrag(e)},p),!1;this._prevTime=d;var f=this._getScrollPosition(o,e);this._prevScrollPos=f,c&&(this._isWait=!0),u||(this._lock=!0);var m={container:l(r),direction:o,inputEvent:h};return null==(t=e.requestScroll)||t.call(e,m),this.emit("scroll",m),this._isWait=!1,u||this.checkScroll(a(a({},e),{prevScrollPos:f,direction:o,inputEvent:h}))}},r._registerScrollEvent=function(e){this._unregisterScrollEvent();var t=e.checkScrollEvent;if(t){var n=l(e.container);!0===t&&(n===document.body||n===document.documentElement)?this._unregister=s(window,this._onScroll):this._unregister=(!0===t?s:t)(n,this._onScroll)}},r._unregisterScrollEvent=function(){var e;null==(e=this._unregister)||e.call(this),this._unregister=null},n}(r.A)},30361:(e,t,n)=>{var r=n(96863),i=n(83139),o=n(91544);e.exports=function(e){return(o(e)?r:i)(e)}},30477:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(6029),i=n(55729),o=n(42732),a=n(45460);function s(e){let{viewBox:t="0 0 24 24",d:n,displayName:s,defaultProps:l={}}=e,u=i.Children.toArray(e.path),c=(0,a.R)((e,i)=>(0,r.jsx)(o.I,{ref:i,viewBox:t,...l,...e,children:u.length?u:(0,r.jsx)("path",{fill:"currentColor",d:n})}));return c.displayName=s,c}},30669:(e,t,n)=>{"use strict";n.d(t,{Q1:()=>s,xJ:()=>o});var r=n(37243),i=(e,t=0)=>{let n=[];return!e.children.length||t>20||Array.from(e.children).forEach(e=>{"SPAN"===e.tagName?n.push(e):e.children.length&&n.push(...i(e,t+1))}),n},o=r.CU.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{},mergeNestedSpanStyles:!0}),parseHTML(){return[{tag:"span",consuming:!1,getAttrs:e=>!!e.hasAttribute("style")&&(this.options.mergeNestedSpanStyles&&(e=>{if(!e.children.length)return;let t=i(e);t&&t.forEach(e=>{var t,n;let r=e.getAttribute("style"),i=null==(n=null==(t=e.parentElement)?void 0:t.closest("span"))?void 0:n.getAttribute("style");e.setAttribute("style",`${i};${r}`)})})(e),{})}]},renderHTML({HTMLAttributes:e}){return["span",(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleTextStyle:e=>({commands:t})=>t.toggleMark(this.name,e),removeEmptyTextStyle:()=>({tr:e})=>{let{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(t,n)=>{if(t.isTextblock)return!0;t.marks.filter(e=>e.type===this.type).some(e=>Object.values(e.attrs).some(e=>!!e))||e.removeMark(n,n+t.nodeSize,this.type)}),!0}}}}),a=r.YY.create({name:"backgroundColor",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{backgroundColor:{default:null,parseHTML:e=>{var t;let n=e.getAttribute("style");if(n){let e=n.split(";").map(e=>e.trim()).filter(Boolean);for(let t=e.length-1;t>=0;t-=1){let n=e[t].split(":");if(n.length>=2){let e=n[0].trim().toLowerCase(),t=n.slice(1).join(":").trim();if("background-color"===e)return t.replace(/['"]+/g,"")}}}return null==(t=e.style.backgroundColor)?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.backgroundColor?{style:`background-color: ${e.backgroundColor}`}:{}}}}]},addCommands:()=>({setBackgroundColor:e=>({chain:t})=>t().setMark("textStyle",{backgroundColor:e}).run(),unsetBackgroundColor:()=>({chain:e})=>e().setMark("textStyle",{backgroundColor:null}).removeEmptyTextStyle().run()})}),s=r.YY.create({name:"color",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;let n=e.getAttribute("style");if(n){let e=n.split(";").map(e=>e.trim()).filter(Boolean);for(let t=e.length-1;t>=0;t-=1){let n=e[t].split(":");if(n.length>=2){let e=n[0].trim().toLowerCase(),t=n.slice(1).join(":").trim();if("color"===e)return t.replace(/['"]+/g,"")}}}return null==(t=e.style.color)?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands:()=>({setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()})}),l=r.YY.create({name:"fontFamily",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:e=>e.style.fontFamily,renderHTML:e=>e.fontFamily?{style:`font-family: ${e.fontFamily}`}:{}}}}]},addCommands:()=>({setFontFamily:e=>({chain:t})=>t().setMark("textStyle",{fontFamily:e}).run(),unsetFontFamily:()=>({chain:e})=>e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()})}),u=r.YY.create({name:"fontSize",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>e.style.fontSize,renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands:()=>({setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()})}),c=r.YY.create({name:"lineHeight",addOptions:()=>({types:["textStyle"]}),addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:e=>e.style.lineHeight,renderHTML:e=>e.lineHeight?{style:`line-height: ${e.lineHeight}`}:{}}}}]},addCommands:()=>({setLineHeight:e=>({chain:t})=>t().setMark("textStyle",{lineHeight:e}).run(),unsetLineHeight:()=>({chain:e})=>e().setMark("textStyle",{lineHeight:null}).removeEmptyTextStyle().run()})});r.YY.create({name:"textStyleKit",addExtensions(){let e=[];return!1!==this.options.backgroundColor&&e.push(a.configure(this.options.backgroundColor)),!1!==this.options.color&&e.push(s.configure(this.options.color)),!1!==this.options.fontFamily&&e.push(l.configure(this.options.fontFamily)),!1!==this.options.fontSize&&e.push(u.configure(this.options.fontSize)),!1!==this.options.lineHeight&&e.push(c.configure(this.options.lineHeight)),!1!==this.options.textStyle&&e.push(o.configure(this.options.textStyle)),e}})},30709:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(6029),i=n(21938),o=n(46980),a=n(785),s=n(45460),l=n(2241);let u=(0,s.R)(function(e,t){let{getPreviewProps:n}=(0,o.nE)(),s=(0,o.Gn)(),u=n(e,t),c=(0,i.cx)("chakra-editable__preview",e.className);return(0,r.jsx)(l.B.span,{...u,__css:{cursor:"text",display:"inline-block",...a.s,...s.preview},className:c})});u.displayName="EditablePreview"},30777:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=n(37243).YY.create({name:"textAlign",addOptions:()=>({types:[],alignments:["left","center","right","justify"],defaultAlignment:null}),addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{let t=e.style.textAlign;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign?{style:`text-align: ${e.textAlign}`}:{}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>!!this.options.alignments.includes(e)&&this.options.types.map(n=>t.updateAttributes(n,{textAlign:e})).every(e=>e),unsetTextAlign:()=>({commands:e})=>this.options.types.map(t=>e.resetAttributes(t,"textAlign")).every(e=>e),toggleTextAlign:e=>({editor:t,commands:n})=>!!this.options.alignments.includes(e)&&(t.isActive({textAlign:e})?n.unsetTextAlign():n.setTextAlign(e))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}})},30928:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l});var r=n(6029),i=n(21938),o=n(88990),a=n(666),s=n(42732);function l(e){let{isOpen:t,isDisabled:n}=(0,o.AV)(),{reduceMotion:l}=(0,a.Dr)(),u=(0,i.cx)("chakra-accordion__icon",e.className),c={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:l?void 0:"transform 0.2s",transformOrigin:"center",...(0,o.EF)().icon};return(0,r.jsx)(s.I,{viewBox:"0 0 24 24","aria-hidden":!0,className:u,__css:c,...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}l.displayName="AccordionIcon"},31026:(e,t,n)=>{"use strict";var r=n(32938),i=n(68659),o=n(64600),a=n(7815),s=n(3913);function l(e){if(!(this instanceof l))return new l(e);var t=r(e);this.segments=t.segments,this.err=t.err,this.__stack=[]}l.from=function(e){if("string"==typeof e)return new l(e);if(e instanceof l){var t=new l("");return t.err=e.err,t.segments=e.segments.map(function(e){return e.slice()}),t.__stack=e.__stack.map(function(e){return o().matrix(e.toArray())}),t}throw Error("SvgPath.from: invalid param type "+e)},l.prototype.__matrix=function(e){var t,n=this;e.queue.length&&this.iterate(function(r,i,o,a){var l,u,c,h;switch(r[0]){case"v":u=0===(l=e.calc(0,r[1],!0))[0]?["v",l[1]]:["l",l[0],l[1]];break;case"V":u=(l=e.calc(o,r[1],!1))[0]===e.calc(o,a,!1)[0]?["V",l[1]]:["L",l[0],l[1]];break;case"h":u=0===(l=e.calc(r[1],0,!0))[1]?["h",l[0]]:["l",l[0],l[1]];break;case"H":u=(l=e.calc(r[1],a,!1))[1]===e.calc(o,a,!1)[1]?["H",l[0]]:["L",l[0],l[1]];break;case"a":case"A":var d=e.toArray(),p=s(r[1],r[2],r[3]).transform(d);if(d[0]*d[3]-d[1]*d[2]<0&&(r[5]=r[5]?"0":"1"),l=e.calc(r[6],r[7],"a"===r[0]),"A"===r[0]&&r[6]===o&&r[7]===a||"a"===r[0]&&0===r[6]&&0===r[7]){u=["a"===r[0]?"l":"L",l[0],l[1]];break}u=p.isDegenerate()?["a"===r[0]?"l":"L",l[0],l[1]]:[r[0],p.rx,p.ry,p.ax,r[4],r[5],l[0],l[1]];break;case"m":h=i>0,u=["m",(l=e.calc(r[1],r[2],h))[0],l[1]];break;default:for(t=1,u=[c=r[0]],h=c.toLowerCase()===c;t=0;)e.matrix(this.__stack[t].toArray());this.__matrix(e),this.__stack=[]}},l.prototype.toString=function(){var e="",t="",n=!1;this.__evaluateStack();for(var r=0,i=this.segments.length;r=0&&(e+=" "):l>=0&&(e+=" "),e+=l}t=a}return e},l.prototype.translate=function(e,t){return this.__stack.push(o().translate(e,t||0)),this},l.prototype.scale=function(e,t){return this.__stack.push(o().scale(e,t||0===t?t:e)),this},l.prototype.rotate=function(e,t,n){return this.__stack.push(o().rotate(e,t||0,n||0)),this},l.prototype.skewX=function(e){return this.__stack.push(o().skewX(e)),this},l.prototype.skewY=function(e){return this.__stack.push(o().skewY(e)),this},l.prototype.matrix=function(e){return this.__stack.push(o().matrix(e)),this},l.prototype.transform=function(e){return e.trim()&&this.__stack.push(i(e)),this},l.prototype.round=function(e){var t,n=0,r=0,i=0,o=0;return e=e||0,this.__evaluateStack(),this.segments.forEach(function(a){var s=a[0].toLowerCase()===a[0];switch(a[0]){case"H":case"h":s&&(a[1]+=i),i=a[1]-a[1].toFixed(e),a[1]=+a[1].toFixed(e);return;case"V":case"v":s&&(a[1]+=o),o=a[1]-a[1].toFixed(e),a[1]=+a[1].toFixed(e);return;case"Z":case"z":i=n,o=r;return;case"M":case"m":s&&(a[1]+=i,a[2]+=o),i=a[1]-a[1].toFixed(e),o=a[2]-a[2].toFixed(e),n=i,r=o,a[1]=+a[1].toFixed(e),a[2]=+a[2].toFixed(e);return;case"A":case"a":s&&(a[6]+=i,a[7]+=o),i=a[6]-a[6].toFixed(e),o=a[7]-a[7].toFixed(e),a[1]=+a[1].toFixed(e),a[2]=+a[2].toFixed(e),a[3]=+a[3].toFixed(e+2),a[6]=+a[6].toFixed(e),a[7]=+a[7].toFixed(e);return;default:t=a.length,s&&(a[t-2]+=i,a[t-1]+=o),i=a[t-2]-a[t-2].toFixed(e),o=a[t-1]-a[t-1].toFixed(e),a.forEach(function(t,n){n&&(a[n]=+a[n].toFixed(e))});return}}),this},l.prototype.iterate=function(e,t){var n,r,i,o=this.segments,a={},s=!1,l=0,u=0,c=0,h=0;if(t||this.__evaluateStack(),o.forEach(function(t,n){var r=e(t,n,l,u);Array.isArray(r)&&(a[n]=r,s=!0);var i=t[0]===t[0].toLowerCase();switch(t[0]){case"m":case"M":l=t[1]+(i?l:0),u=t[2]+(i?u:0),c=l,h=u;return;case"h":case"H":l=t[1]+(i?l:0);return;case"v":case"V":u=t[1]+(i?u:0);return;case"z":case"Z":l=c,u=h;return;default:l=t[t.length-2]+(i?l:0),u=t[t.length-1]+(i?u:0)}}),!s)return this;for(n=0,i=[];n{"use strict";n.d(t,{C:()=>X,Ay:()=>J,Gu:()=>Z});var r=n(16690),i=n(12731);let o=(0,i.A)(r.A),a=o.right;function s(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function l(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function u(){}o.left,(0,i.A)(function(e){return null===e?NaN:+e}).center;var c="\\s*([+-]?\\d+)\\s*",h="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",d="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",p=/^#([0-9a-f]{3,8})$/,f=RegExp("^rgb\\("+[c,c,c]+"\\)$"),m=RegExp("^rgb\\("+[d,d,d]+"\\)$"),g=RegExp("^rgba\\("+[c,c,c,h]+"\\)$"),y=RegExp("^rgba\\("+[d,d,d,h]+"\\)$"),v=RegExp("^hsl\\("+[h,d,d]+"\\)$"),b=RegExp("^hsla\\("+[h,d,d,h]+"\\)$"),w={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function x(){return this.rgb().formatHex()}function _(){return this.rgb().formatRgb()}function k(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=p.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?E(t):3===n?new C(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?A(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?A(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new C(t[1],t[2],t[3],1):(t=m.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=g.exec(e))?A(t[1],t[2],t[3],t[4]):(t=y.exec(e))?A(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=v.exec(e))?O(t[1],t[2]/100,t[3]/100,1):(t=b.exec(e))?O(t[1],t[2]/100,t[3]/100,t[4]):w.hasOwnProperty(e)?E(w[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function E(e){return new C(e>>16&255,e>>8&255,255&e,1)}function A(e,t,n,r){return r<=0&&(e=t=n=NaN),new C(e,t,n,r)}function S(e,t,n,r){var i;return 1==arguments.length?((i=e)instanceof u||(i=k(i)),i)?new C((i=i.rgb()).r,i.g,i.b,i.opacity):new C:new C(e,t,n,null==r?1:r)}function C(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function T(){return"#"+P(this.r)+P(this.g)+P(this.b)}function M(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function P(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function O(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new I(e,t,n,r)}function D(e){if(e instanceof I)return new I(e.h,e.s,e.l,e.opacity);if(e instanceof u||(e=k(e)),!e)return new I;if(e instanceof I)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+(n0&&l<1?0:a,new I(a,s,l,e.opacity)}function I(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function N(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function R(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}s(u,k,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:x,formatHex:x,formatHsl:function(){return D(this).formatHsl()},formatRgb:_,toString:_}),s(C,S,l(u,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:T,formatHex:T,formatRgb:M,toString:M})),s(I,function(e,t,n,r){return 1==arguments.length?D(e):new I(e,t,n,null==r?1:r)},l(u,{brighter:function(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new I(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new I(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new C(N(e>=240?e-240:e+120,i,r),N(e,i,r),N(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));let L=e=>()=>e;function B(e,t){var n=t-e;return n?function(t){return e+t*n}:L(isNaN(e)?t:e)}let F=function e(t){var n,r=1==(n=+t)?B:function(e,t){var r,i,o;return t-e?(r=e,i=t,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(e){return Math.pow(r+e*i,o)}):L(isNaN(e)?t:e)};function i(e,t){var n=r((e=S(e)).r,(t=S(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=B(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function j(e){return function(t){var n,r,i=t.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=rs&&(a=t.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(i=i[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:U(i,o)})),s=$.lastIndex;return st&&(n=e,e=t,t=n),u=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?K:G,i=o=null,h}function h(t){return null==t||isNaN(t*=1)?n:(i||(i=r(a.map(e),s,l)))(e(u(t)))}return h.invert=function(n){return u(t((o||(o=r(s,a.map(e),U)))(n)))},h.domain=function(e){return arguments.length?(a=Array.from(e,V),c()):a.slice()},h.range=function(e){return arguments.length?(s=Array.from(e),c()):s.slice()},h.rangeRound=function(e){return s=Array.from(e),l=H,c()},h.clamp=function(e){return arguments.length?(u=!!e||q,c()):u!==q},h.interpolate=function(e){return arguments.length?(l=e,c()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,r){return e=n,t=r,c()}}function J(){return Z()(q,q)}},31090:(e,t,n)=>{"use strict";n.d(t,{B8:()=>p,Xy:()=>f,ck:()=>m});var r=n(6029),i=n(5858),o=n(54578),a=n(97646),s=n(42732),l=n(45460),u=n(8527),c=n(2241);let[h,d]=(0,o.q)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),p=(0,l.R)(function(e,t){let n=(0,u.o)("List",e),{children:o,styleType:s="none",stylePosition:l,spacing:d,...p}=(0,i.M)(e),f=(0,a.a)(o);return(0,r.jsx)(h,{value:n,children:(0,r.jsx)(c.B.ul,{ref:t,listStyleType:s,listStylePosition:l,role:"list",__css:{...n.container,...d?{"& > *:not(style) ~ *:not(style)":{mt:d}}:{}},...p,children:f})})});p.displayName="List",(0,l.R)((e,t)=>{let{as:n,...i}=e;return(0,r.jsx)(p,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...i})}).displayName="OrderedList";let f=(0,l.R)(function(e,t){let{as:n,...i}=e;return(0,r.jsx)(p,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...i})});f.displayName="UnorderedList";let m=(0,l.R)(function(e,t){let n=d();return(0,r.jsx)(c.B.li,{ref:t,...e,__css:n.item})});m.displayName="ListItem",(0,l.R)(function(e,t){let n=d();return(0,r.jsx)(s.I,{ref:t,role:"presentation",...e,__css:n.icon})}).displayName="ListIcon"},31269:(e,t,n)=>{"use strict";function r(e){for(var t=[],n=1;na,KR:()=>o,RI:()=>s,SS:()=>i,T6:()=>r})},31324:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(17203),i=n(19869);function o(e,t,n){let{style:o}=e,a={};for(let s in o)((0,r.S)(o[s])||t.style&&(0,r.S)(t.style[s])||(0,i.z)(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(a[s]=o[s]);return a}},31340:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=Array(e);++n{"use strict";n.d(t,{A:()=>p,U:()=>d});var r=function(){function e(){this.keys=[],this.values=[]}var t=e.prototype;return t.get=function(e){return this.values[this.keys.indexOf(e)]},t.set=function(e,t){var n=this.keys,r=this.values,i=n.indexOf(e),o=-1===i?n.length:i;n[o]=e,r[o]=t},e}(),i=function(){function e(){this.object={}}var t=e.prototype;return t.get=function(e){return this.object[e]},t.set=function(e,t){this.object[e]=t},e}(),o="function"==typeof Map,a=function(){function e(){}var t=e.prototype;return t.connect=function(e,t){this.prev=e,this.next=t,e&&(e.next=this),t&&(t.prev=this)},t.disconnect=function(){var e=this.prev,t=this.next;e&&(e.next=t),t&&(t.prev=e)},t.getIndex=function(){for(var e=this,t=-1;e;)e=e.prev,++t;return t},e}(),s=function(){function e(e,t,n,r,i,o,a,s){this.prevList=e,this.list=t,this.added=n,this.removed=r,this.changed=i,this.maintained=o,this.changedBeforeAdded=a,this.fixed=s}var t=e.prototype;return Object.defineProperty(t,"ordered",{get:function(){return this.cacheOrdered||this.caculateOrdered(),this.cacheOrdered},enumerable:!0,configurable:!0}),Object.defineProperty(t,"pureChanged",{get:function(){return this.cachePureChanged||this.caculateOrdered(),this.cachePureChanged},enumerable:!0,configurable:!0}),t.caculateOrdered=function(){var e,t,n,r,i=(e=this.changedBeforeAdded,t=this.fixed,n=[],r=[],e.forEach(function(e){var t=e[0],i=e[1],o=new a;n[t]=o,r[i]=o}),n.forEach(function(e,t){e.connect(n[t-1])}),e.filter(function(e,n){return!t[n]}).map(function(e,t){var i=e[0],o=e[1];if(i===o)return[0,0];var a=n[i],s=r[o-1],l=a.getIndex();return a.disconnect(),s?a.connect(s,s.next):a.connect(void 0,n[0]),[l,a.getIndex()]})),o=this.changed,s=[];this.cacheOrdered=i.filter(function(e,t){var n=e[0],r=e[1],i=o[t],a=i[0],l=i[1];if(n!==r)return s.push([a,l]),!0}),this.cachePureChanged=s},e}();function l(e,t,n){var a=o?Map:n?i:r,l=n||function(e){return e},u=[],c=[],h=[],d=e.map(l),p=t.map(l),f=new a,m=new a,g=[],y=[],v={},b=[],w=0,x=0;return d.forEach(function(e,t){f.set(e,t)}),p.forEach(function(e,t){m.set(e,t)}),d.forEach(function(e,t){var n=m.get(e);void 0===n?(++x,c.push(t)):v[n]=x}),p.forEach(function(e,t){var n=f.get(e);void 0===n?(u.push(t),++w):(h.push([n,t]),x=v[t]||0,g.push([n-x,t-w]),y.push(t===n),n!==t&&b.push([n,t]))}),c.reverse(),new s(e,t,u,c,b,h,g,y)}var u=function(){function e(e,t){void 0===e&&(e=[]),this.findKeyCallback=t,this.list=[].slice.call(e)}return e.prototype.update=function(e){var t=[].slice.call(e),n=l(this.list,t,this.findKeyCallback);return this.list=t,n},e}(),c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},h="function"==typeof Map?void 0:function(){var e=0;return function(t){return t.__DIFF_KEY__||(t.__DIFF_KEY__=++e)}}();function d(e,t){return l(e,t,h)}let p=function(e){function t(){this.constructor=n}function n(t){return void 0===t&&(t=[]),e.call(this,t,h)||this}return c(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n}(u)},31688:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,D:()=>a});let r=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function i(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}let o=e=>!i(e);function a(e){"function"==typeof e&&(o=t=>t.startsWith("on")?!i(t):e(t))}try{a(require("@emotion/is-prop-valid").default)}catch{}function s(e,t,n){let r={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(o(a)||!0===n&&i(a)||!t&&!i(a)||e.draggable&&a.startsWith("onDrag"))&&(r[a]=e[a]);return r}},31808:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(93344);function i(){return fetch(...arguments).catch(e=>{if("AbortError"===e.name)throw e;throw new r.A(e)})}},31812:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(13337),i=n(72519);function o(e,t){let n=(0,r.a)(e);return isNaN(t)?(0,i.w)(e,NaN):(t&&n.setDate(n.getDate()+t),n)}},31831:(e,t,n)=>{"use strict";let r;function i(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function o(){return r||(r=function(e,t){let n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);let r=i(n);return(e,n)=>r.then(r=>n(r.transaction(t,e).objectStore(t)))}("keyval-store","keyval")),r}function a(e,t=o()){return t("readonly",t=>i(t.get(e)))}function s(e,t,n=o()){return n("readwrite",n=>(n.put(t,e),i(n.transaction)))}n.d(t,{Jt:()=>a,hZ:()=>s})},31952:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},31989:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9307),i=(0,r.A)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?(0,r.A)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};let o=i;i.range},32062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},32138:(e,t,n)=>{"use strict";function r(e,t,n){if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}n.d(t,{K:()=>r})},32264:(e,t,n)=>{"use strict";n.d(t,{V:()=>c,f:()=>f});var r=n(73768);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var o=n(10714),a=n(5169);let s="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function c(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[],a=0,c=t.replace(u,e=>(r.y.test(e)?(i.color.push(a),o.push(l),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(a),o.push("var"),n.push(e)):(i.number.push(a),o.push(s),n.push(parseFloat(e))),++a,"${}")).split("${}");return{values:n,split:c,indexes:i,types:o}}function h(e){return c(e).values}function d(e){let{split:t,types:n}=c(e),i=t.length;return e=>{let o="";for(let u=0;u"number"==typeof e?0:r.y.test(e)?r.y.getAnimatableNone(e):e,f={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(o.S)?.length||0)+(e.match(i)?.length||0)>0},parse:h,createTransformer:d,getAnimatableNone:function(e){let t=h(e);return d(e)(t.map(p))}}},32267:(e,t,n)=>{"use strict";let r,i;n.d(t,{P2:()=>p});let o=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,c={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return a.get(e);if("objectStoreNames"===t)return e.objectStoreNames||s.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return h(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function h(e){if(e instanceof IDBRequest){let t=new Promise((t,n)=>{let r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",o)},i=()=>{t(h(e.result)),r()},o=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",o)});return t.then(t=>{t instanceof IDBCursor&&o.set(t,e)}).catch(()=>{}),u.set(t,e),t}if(l.has(e))return l.get(e);let t=function(e){if("function"==typeof e)return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(d(this),t),h(o.get(this))}:function(...t){return h(e.apply(d(this),t))}:function(t,...n){let r=e.call(d(this),t,...n);return s.set(r,t.sort?t.sort():[t]),h(r)};return e instanceof IDBTransaction&&function(e){if(a.has(e))return;let t=new Promise((t,n)=>{let r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",o),e.removeEventListener("abort",o)},i=()=>{t(),r()},o=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",o),e.addEventListener("abort",o)});a.set(e,t)}(e),(r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(t=>e instanceof t)?new Proxy(e,c):e}(e);return t!==e&&(l.set(e,t),u.set(t,e)),t}let d=e=>u.get(e);function p(e,t,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){let a=indexedDB.open(e,t),s=h(a);return r&&a.addEventListener("upgradeneeded",e=>{r(h(a.result),e.oldVersion,e.newVersion,h(a.transaction))}),n&&a.addEventListener("blocked",()=>n()),s.then(e=>{o&&e.addEventListener("close",()=>o()),i&&e.addEventListener("versionchange",()=>i())}).catch(()=>{}),s}let f=["get","getKey","getAll","getAllKeys","count"],m=["put","add","delete","clear"],g=new Map;function y(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(g.get(t))return g.get(t);let n=t.replace(/FromIndex$/,""),r=t!==n,i=m.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||f.includes(n)))return;let o=async function(e,...t){let o=this.transaction(e,i?"readwrite":"readonly"),a=o.store;return r&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),i&&o.done]))[0]};return g.set(t,o),o}c=(e=>({...e,get:(t,n,r)=>y(t,n)||e.get(t,n,r),has:(t,n)=>!!y(t,n)||e.has(t,n)}))(c)},32380:(e,t,n)=>{"use strict";n.d(t,{tN:()=>i});var r=n(60122);let i=e=>{let t=r.Mj.getState(e).undoManager;if(null!=t)return t.undo(),!0}},32639:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r=(0,n(55729).createContext)(null)},32705:(e,t,n)=>{"use strict";n.d(t,{k:()=>m});var r=n(6029),i=n(5858),o=n(54578),a=n(83004);(0,a.i7)({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),(0,a.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});let s=(0,a.i7)({"0%":{left:"-40%"},"100%":{left:"100%"}}),l=(0,a.i7)({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});var u=n(45460),c=n(2241),h=n(8527);let[d,p]=(0,o.q)({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),f=(0,u.R)((e,t)=>{let{min:n,max:i,value:o,isIndeterminate:a,role:s,...l}=e,u=function(e){let{value:t=0,min:n,max:r,valueText:i,getValueText:o,isIndeterminate:a,role:s="progressbar"}=e,l=(t-n)*100/(r-n);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:t,"aria-valuetext":(()=>{if(null!=t)return"function"==typeof o?o(t,l):i})(),role:s},percent:l,value:t}}({value:o,min:n,max:i,isIndeterminate:a,role:s}),h={height:"100%",...p().filledTrack};return(0,r.jsx)(c.B.div,{ref:t,style:{width:`${u.percent}%`,...l.style},...u.bind,...l,__css:h})}),m=(0,u.R)((e,t)=>{let{value:n,min:o=0,max:a=100,hasStripe:u,isAnimated:p,children:m,borderRadius:g,isIndeterminate:y,"aria-label":v,"aria-labelledby":b,"aria-valuetext":w,title:x,role:_,...k}=(0,i.M)(e),E=(0,h.o)("Progress",e),A=g??E.track?.borderRadius,S={animation:`${l} 1s linear infinite`},C={...!y&&u&&p&&S,...y&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${s} 1s ease infinite normal none running`}},T={overflow:"hidden",position:"relative",...E.track};return(0,r.jsx)(c.B.div,{ref:t,borderRadius:A,__css:T,...k,children:(0,r.jsxs)(d,{value:E,children:[(0,r.jsx)(f,{"aria-label":v,"aria-labelledby":b,"aria-valuetext":w,min:o,max:a,value:n,isIndeterminate:y,css:C,borderRadius:A,title:x,role:_}),m]})})});m.displayName="Progress"},32844:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(6029),i=n(5858),o=n(21938),a=n(55729),s=n(88990),l=n(666),u=n(45460),c=n(8527),h=n(2241);let d=(0,u.R)(function({children:e,reduceMotion:t,...n},u){let d=(0,c.o)("Accordion",n),p=(0,i.M)(n),{htmlProps:f,descendants:m,...g}=(0,l.O3)(p),y=(0,a.useMemo)(()=>({...g,reduceMotion:!!t}),[g,t]);return(0,r.jsx)(s.C3,{value:m,children:(0,r.jsx)(l.If,{value:y,children:(0,r.jsx)(s.gm,{value:d,children:(0,r.jsx)(h.B.div,{ref:u,...f,className:(0,o.cx)("chakra-accordion",n.className),__css:d.root,children:e})})})})});d.displayName="Accordion"},32933:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(55729),i=n(5001);let o={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function a(e={}){let{style:t,isFocusable:n}=e,[s,l]=(0,r.useState)(!1),{focusWithinProps:u}=(0,i.R)({isDisabled:!n,onFocusWithinChange:e=>l(e)}),c=(0,r.useMemo)(()=>s?t:t?{...o,...t}:o,[s]);return{visuallyHiddenProps:{...u,style:c}}}},32938:e=>{"use strict";var t={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},n=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function r(e){return e>=48&&e<=57}function i(e){this.index=0,this.path=e,this.max=e.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}function o(e){for(var t;e.index=5760&&n.indexOf(t)>=0);)e.index++}function a(e){var n,r=(n=e.path[e.segmentStart]).toLowerCase(),i=e.data;if("m"===r&&i.length>2&&(e.result.push([n,i[0],i[1]]),i=i.slice(2),r="l",n="m"===n?"l":"L"),"r"===r)e.result.push([n].concat(i));else for(;i.length>=t[r]&&(e.result.push([n].concat(i.splice(0,t[r]))),t[r]););}e.exports=function(e){var n=new i(e),s=n.max;for(o(n);n.index0;c--){if(s&&(3===c||4===c)?!function(e){var t=e.path.charCodeAt(e.index);if(48===t){e.param=0,e.index++;return}if(49===t){e.param=1,e.index++;return}e.err="SvgPath: arc flag can be 0 or 1 only (at pos "+e.index+")"}(e):!function(e){var t,n=e.index,i=n,o=e.max,a=!1,s=!1,l=!1,u=!1;if(i>=o){e.err="SvgPath: missed param (at pos "+i+")";return}if((43===(t=e.path.charCodeAt(i))||45===t)&&(t=++i=e.max||!((n=e.path.charCodeAt(e.index))>=48&&n<=57||43===n||45===n||46===n)))break}a(e)}(n);return n.result.length&&(0>"mM".indexOf(n.result[0][0])?(n.err="SvgPath: string should start with `M` or `m`",n.result=[]):n.result[0][0]="M"),{err:n.err,segments:n.result}}},33023:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(61462),i=n(35387).A["__core-js_shared__"],o=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),a=n(68493),s=n(54567),l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,h=u.hasOwnProperty,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(e){return!!(0,a.A)(e)&&(!o||!(o in e))&&((0,r.A)(e)?d:l).test((0,s.A)(e))},f=function(e,t){var n=null==e?void 0:e[t];return p(n)?n:void 0}},33102:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n{"use strict";n.d(t,{A:()=>d});var r=(0,n(33023).A)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{"use strict";n.d(t,{A:()=>d});var r={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}},i=n(81716),o={date:(0,i.A)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.A)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.A)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'el' eeee 'pasado a la' LT",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},s={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},l=n(93730),u={ordinalNumber:function(e){return Number(e)+"\xba"},era:(0,l.A)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:(0,l.A)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,l.A)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,l.A)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sa"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:(0,l.A)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},c=n(89252),h=n(25696);let d={code:"es",formatDistance:function(e,t,n){var i;if(n=n||{},i="string"==typeof r[e]?r[e]:1===t?r[e].one:r[e].other.replace("{{count}}",t),n.addSuffix)if(n.comparison>0)return"en "+i;else return"hace "+i;return i},formatLong:o,formatRelative:function(e,t,n,r){return 1!==t.getUTCHours()?s[e]:a[e]},localize:u,match:{ordinalNumber:(0,c.A)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,h.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,h.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,h.A)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,h.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|sa)/i,abbreviated:/^(dom|lun|mar|mie|jue|vie|sab)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,h.A)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},33912:(e,t,n)=>{"use strict";e.exports=n(277)},34035:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94916),i=n(64816);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),o=(0,r.A)(t);return n.getTime()-o.getTime()}},34142:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(55729);function i(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,o,i)},[]),n=(0,r.useCallback)((t,n,r,i)=>{var o;let a=(null==(o=e.current.get(r))?void 0:o.fn)||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),i=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}},34302:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(62848);function i(e,t){var n;return n=-t,(0,r.P)(e,12*n)}},34758:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(65735),i=n(53255),o=n(50891),a=n(16792),s=n(7749);function l(e,t){let n=(0,s.d)(t()),r=()=>n.set(t());return r(),(0,a.E)(()=>{let t=()=>o.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,o.WG)(r)}}),n}var u=n(40318);function c(e,t,n,i){if("function"==typeof e){u.bt.current=[],e();let t=l(u.bt.current,e);return u.bt.current=void 0,t}let o="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],o=e[1+n],a=e[2+n],s=e[3+n],l=(0,r.G)(o,a,s);return t?l(i):l}(t,n,i);return Array.isArray(e)?h(e,o):h([e],([e])=>o(e))}function h(e,t){let n=(0,i.M)(()=>[]);return l(e,()=>{n.length=0;let r=e.length;for(let t=0;t{"use strict";n.d(t,{NP:()=>to,AH:()=>tc,i7:()=>tp,I4:()=>td,DP:()=>ti});var r=n(13829),i=n(55729),o=n(21832),a=n.n(o),s="-ms-",l="-moz-",u="-webkit-",c="comm",h="rule",d="decl",p="@keyframes",f=Math.abs,m=String.fromCharCode,g=Object.assign;function y(e,t){return(e=t.exec(e))?e[0]:e}function v(e,t,n){return e.replace(t,n)}function b(e,t,n){return e.indexOf(t,n)}function w(e,t){return 0|e.charCodeAt(t)}function x(e,t,n){return e.slice(t,n)}function _(e){return e.length}function k(e,t){return t.push(e),e}function E(e,t){return e.filter(function(e){return!y(e,t)})}var A=1,S=1,C=0,T=0,M=0,P="";function O(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:A,column:S,length:a,return:"",siblings:s}}function D(e,t){return g(O("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function I(e){for(;e.root;)e=D(e.root,{children:[e]});k(e,e.siblings)}function N(){return M=T-1&&!e.return)switch(e.type){case d:e.return=function e(t,n,r){var i;switch(i=n,45^w(t,0)?(((i<<2^w(t,0))<<2^w(t,1))<<2^w(t,2))<<2^w(t,3):0){case 5103:return u+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+t+t;case 4789:return l+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return u+t+l+t+s+t+t;case 5936:switch(w(t,n+11)){case 114:return u+t+s+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return u+t+s+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return u+t+s+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return u+t+s+t+t;case 6165:return u+t+s+"flex-"+t+t;case 5187:return u+t+v(t,/(\w+).+(:[^]+)/,u+"box-$1$2"+s+"flex-$1$2")+t;case 5443:return u+t+s+"flex-item-"+v(t,/flex-|-self/g,"")+(y(t,/flex-|baseline/)?"":s+"grid-row-"+v(t,/flex-|-self/g,""))+t;case 4675:return u+t+s+"flex-line-pack"+v(t,/align-content|flex-|-self/g,"")+t;case 5548:return u+t+s+v(t,"shrink","negative")+t;case 5292:return u+t+s+v(t,"basis","preferred-size")+t;case 6060:return u+"box-"+v(t,"-grow","")+u+t+s+v(t,"grow","positive")+t;case 4554:return u+v(t,/([^-])(transform)/g,"$1"+u+"$2")+t;case 6187:return v(v(v(t,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),t,"")+t;case 5495:case 3959:return v(t,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return v(v(t,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+s+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+t+t;case 4200:if(!y(t,/flex-|baseline/))return s+"grid-column-align"+x(t,n)+t;break;case 2592:case 3360:return s+v(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,y(e.props,/grid-\w+-end/)}))return~b(t+(r=r[n].value),"span",0)?t:s+v(t,"-start","")+t+s+"grid-row-span:"+(~b(r,"span",0)?y(r,/\d+/):y(r,/\d+/)-y(t,/\d+/))+";";return s+v(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return y(e.props,/grid-\w+-start/)})?t:s+v(v(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return v(t,/(.+)-inline(.+)/,u+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(t)-1-n>6)switch(w(t,n+1)){case 109:if(45!==w(t,n+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+l+(108==w(t,n+3)?"$3":"$2-$3"))+t;case 115:return~b(t,"stretch",0)?e(v(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return v(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,a,l){return s+n+":"+r+l+(i?s+n+"-span:"+(o?a:a-r)+l:"")+t});case 4949:if(121===w(t,n+6))return v(t,":",":"+u)+t;break;case 6444:switch(w(t,45===w(t,14)?18:11)){case 120:return v(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===w(t,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+s+"$2box$3")+t;case 100:return v(t,":",":"+s)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return v(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case p:return F([D(e,{value:v(e.value,"@","@"+u)})],r);case h:if(e.length){var i,o;return i=n=e.props,o=function(t){switch(y(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":I(D(e,{props:[v(t,/:(read-\w+)/,":"+l+"$1")]})),I(D(e,{props:[t]})),g(e,{props:E(n,r)});break;case"::placeholder":I(D(e,{props:[v(t,/:(plac\w+)/,":"+u+"input-$1")]})),I(D(e,{props:[v(t,/:(plac\w+)/,":"+l+"$1")]})),I(D(e,{props:[v(t,/:(plac\w+)/,s+"input-$1")]})),I(D(e,{props:[t]})),g(e,{props:E(n,r)})}return""},i.map(o).join("")}}}function z(e,t,n,r,i,o,a,s,l,u,c,d){for(var p=i-1,m=0===i?o:[""],g=m.length,y=0,b=0,w=0;y0?m[_]+" "+k:v(k,/&\f/g,m[_])).trim())&&(l[w++]=E);return O(e,t,n,0===i?h:s,l,u,c,d)}function $(e,t,n,r,i){return O(e,t,n,d,x(e,0,r),x(e,r+1,-1),r,i)}var H={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},V=n(29143),W=void 0!==V&&void 0!==V.env&&(V.env.REACT_APP_SC_ATTR||V.env.SC_ATTR)||"data-styled",q="active",Y="data-styled-version",G="6.1.19",K="/*!sc*/\n",X="undefined"!=typeof window&&"undefined"!=typeof document,Z=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==V&&void 0!==V.env&&void 0!==V.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==V.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==V.env.REACT_APP_SC_DISABLE_SPEEDY&&V.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==V&&void 0!==V.env&&void 0!==V.env.SC_DISABLE_SPEEDY&&""!==V.env.SC_DISABLE_SPEEDY&&"false"!==V.env.SC_DISABLE_SPEEDY&&V.env.SC_DISABLE_SPEEDY),J=Object.freeze([]),Q=Object.freeze({}),ee=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),et=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,en=/(^-|-$)/g;function er(e){return e.replace(et,"-").replace(en,"")}var ei=/(a)(d)/gi,eo=function(e){return String.fromCharCode(e+(e>25?39:97))};function ea(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=eo(t%52)+n;return(eo(t%52)+n).replace(ei,"$1-$2")}var es,el=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eu=function(e){return el(5381,e)};function ec(e){return"string"==typeof e}var eh="function"==typeof Symbol&&Symbol.for,ed=eh?Symbol.for("react.memo"):60115,ep=eh?Symbol.for("react.forward_ref"):60112,ef={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},em={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eg={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ey=((es={})[ep]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},es[ed]=eg,es);function ev(e){return("type"in e&&e.type.$$typeof)===ed?eg:"$$typeof"in e?ey[e.$$typeof]:ef}var eb=Object.defineProperty,ew=Object.getOwnPropertyNames,ex=Object.getOwnPropertySymbols,e_=Object.getOwnPropertyDescriptor,ek=Object.getPrototypeOf,eE=Object.prototype;function eA(e){return"function"==typeof e}function eS(e){return"object"==typeof e&&"styledComponentId"in e}function eC(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eT(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var eD=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw eO(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(K)}}(r);return n})}return e.registerId=function(e){return eL(e)},e.prototype.rehydrate=function(){!this.server&&X&&e$(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e((0,r.Cl)((0,r.Cl)({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eD(e.isServer?new eq(n):t?new eV(n):new eW(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(eL(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(eL(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eL(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eX=/&/g,eZ=/^\s*\/\/.*$/gm;function eJ(e){var t,n,r,i=void 0===e?Q:e,o=i.options,a=void 0===o?Q:o,s=i.plugins,l=void 0===s?J:s,u=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},d=l.slice();d.push(function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(eX,n).replace(r,u))}),a.prefix&&d.push(U),d.push(j);var p=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var l,u,h,p,g,y,E=e.replace(eZ,""),D=(g=function e(t,n,r,i,o,a,s,l,u){for(var h,d,p,g,y=0,E=0,C=s,D=0,I=0,F=0,j=1,U=1,H=1,V=0,W="",q=o,Y=a,G=i,K=W;U;)switch(F=V,V=N()){case 40:if(108!=F&&58==w(K,C-1)){-1!=b(K+=v(B(V),"&","&\f"),"&\f",f(y?l[y-1]:0))&&(H=-1);break}case 34:case 39:case 91:K+=B(V);break;case 9:case 10:case 13:case 32:K+=function(e){for(;M=R();)if(M<33)N();else break;return L(e)>2||L(M)>3?"":" "}(F);break;case 92:K+=function(e,t){for(var n;--t&&N()&&!(M<48)&&!(M>102)&&(!(M>57)||!(M<65))&&(!(M>70)||!(M<97)););return n=T+(t<6&&32==R()&&32==N()),x(P,e,n)}(T-1,7);continue;case 47:switch(R()){case 42:case 47:k((h=function(e,t){for(;N();)if(e+M===57)break;else if(e+M===84&&47===R())break;return"/*"+x(P,t,T-1)+"*"+m(47===e?e:N())}(N(),T),d=n,p=r,g=u,O(h,d,p,c,m(M),x(h,2,-2),0,g)),u);break;default:K+="/"}break;case 123*j:l[y++]=_(K)*H;case 125*j:case 59:case 0:switch(V){case 0:case 125:U=0;case 59+E:-1==H&&(K=v(K,/\f/g,"")),I>0&&_(K)-C&&k(I>32?$(K+";",i,r,C-1,u):$(v(K," ","")+";",i,r,C-2,u),u);break;case 59:K+=";";default:if(k(G=z(K,n,r,y,E,o,l,W,q=[],Y=[],C,a),a),123===V)if(0===E)e(K,n,G,G,q,a,C,l,Y);else switch(99===D&&110===w(K,3)?100:D){case 100:case 108:case 109:case 115:e(t,G,G,i&&k(z(t,G,G,0,0,o,l,W,o,q=[],C,Y),Y),o,Y,C,l,i?q:Y);break;default:e(K,G,G,G,[""],Y,0,l,Y)}}y=E=I=0,j=H=1,W=K="",C=s;break;case 58:C=1+_(K),I=F;default:if(j<1){if(123==V)--j;else if(125==V&&0==j++&&125==(M=T>0?w(P,--T):0,S--,10===M&&(S=1,A--),M))continue}switch(K+=m(V),V*j){case 38:H=E>0?1:(K+="\f",-1);break;case 44:l[y++]=(_(K)-1)*H,H=1;break;case 64:45===R()&&(K+=B(N())),D=R(),E=C=_(W=K+=function(e){for(;!L(R());)N();return x(P,e,T)}(T)),V++;break;case 45:45===F&&2==_(K)&&(j=0)}}return a}("",null,null,null,[""],(p=h=o||i?"".concat(o," ").concat(i," { ").concat(E," }"):E,A=S=1,C=_(P=p),T=0,h=[]),0,[0],h),P="",g);a.namespace&&(D=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(D,a.namespace));var I=[];return F(D,(u=(l=d.concat((y=function(e){return I.push(e)},function(e){!e.root&&(e=e.return)&&y(e)}))).length,function(e,t,n,r){for(var i="",o=0;o="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var e8=function(e){return null==e||!1===e||""===e},e9=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!e8(i)&&(Array.isArray(i)&&i.isCss||eA(i)?t.push("".concat(e6(n),":"),i,";"):eM(i)?t.push.apply(t,(0,r.fX)((0,r.fX)(["".concat(n," {")],e9(i),!1),["}"],!1)):t.push("".concat(e6(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in H||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function e7(e,t,n,r){if(e8(e))return[];if(eS(e))return[".".concat(e.styledComponentId)];if(eA(e))return!eA(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:e7(e(t),t,n,r);return e instanceof e5?n?(e.inject(n,r),[e.getName(r)]):[e]:eM(e)?e9(e):Array.isArray(e)?Array.prototype.concat.apply(J,e.map(function(e){return e7(e,t,n,r)})):[e.toString()]}function te(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=eC(r,o),this.staticRulesId=o}else{for(var s=el(this.baseHash,n.hash),l="",u=0;u>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=eC(r,d)}}return r},e}(),tr=i.createContext(void 0);function ti(){var e=(0,i.useContext)(tr);if(!e)throw eO(18);return e}function to(e){var t=i.useContext(tr),n=(0,i.useMemo)(function(){var n=e.theme;if(!n)throw eO(14);if(eA(n))return n(t);if(Array.isArray(n)||"object"!=typeof n)throw eO(8);return t?(0,r.Cl)((0,r.Cl)({},t),n):n},[e.theme,t]);return e.children?i.createElement(tr.Provider,{value:n},e.children):null}tr.Consumer;var ta={};function ts(e,t,n){var o,a,s,l,u=eS(e),c=!ec(e),h=t.attrs,d=void 0===h?J:h,p=t.componentId,f=void 0===p?(o=t.displayName,a=t.parentComponentId,ta[s="string"!=typeof o?"sc":er(o)]=(ta[s]||0)+1,l="".concat(s,"-").concat(ea(eu(G+s+ta[s])>>>0)),a?"".concat(a,"-").concat(l):l):p,m=t.displayName,g=void 0===m?ec(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):m,y=t.displayName&&t.componentId?"".concat(er(t.displayName),"-").concat(t.componentId):t.componentId||f,v=u&&e.attrs?e.attrs.concat(d).filter(Boolean):d,b=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;b=function(e,t){return w(e,t)&&x(e,t)}}else b=w}var _=new tn(n,y,u?e.componentStyle:void 0);function k(e,t){return function(e,t,n){var o,a,s=e.attrs,l=e.componentStyle,u=e.defaultProps,c=e.foldedComponentIds,h=e.styledComponentId,d=e.target,p=i.useContext(tr),f=e3(),m=e.shouldForwardProp||f.shouldForwardProp,g=(void 0===(o=u)&&(o=Q),t.theme!==o.theme&&t.theme||p||o.theme||Q),y=function(e,t,n){for(var i,o=(0,r.Cl)((0,r.Cl)({},t),{className:void 0,theme:n}),a=0;a>>0),i)}ee.forEach(function(e){td[e]=th(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=te(e),eK.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(eT(e7(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eK.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=eT([r&&'nonce="'.concat(r,'"'),"".concat(W,'="true"'),"".concat(Y,'="').concat(G,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw eO(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw eO(2);var t,o=e.instance.toString();if(!o)return[];var a=((t={})[W]="",t[Y]=G,t.dangerouslySetInnerHTML={__html:o},t),s=n.nc;return s&&(a.nonce=s),[i.createElement("style",(0,r.Cl)({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eK({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw eO(2);return i.createElement(e4,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw eO(3)}}()},34787:(e,t,n)=>{"use strict";function r(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.d(t,{xI:()=>U});let i=r(),o=/[&<>"']/,a=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},c=e=>u[e];function h(e,t){if(t){if(o.test(e))return e.replace(a,c)}else if(s.test(e))return e.replace(l,c);return e}let d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function p(e){return e.replace(d,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}let f=/(^|[^\[])\^/g;function m(e,t){e="string"==typeof e?e:e.source,t=t||"";let n={replace:(t,r)=>(r=(r=r.source||r).replace(f,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}let g=/[^\w:]/g,y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(e,t,n){if(e){let e;try{e=decodeURIComponent(p(n)).replace(g,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!y.test(n)&&(n=function(e,t){b[" "+e]||(w.test(e)?b[" "+e]=e+"/":b[" "+e]=S(e,"/",!0));let n=-1===(e=b[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(x,"$1")+t:"/"!==t.charAt(0)?e+t:n?t:e.replace(_,"$1")+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}let b={},w=/^[^:]+:\/*[^/]*$/,x=/^([^:]+:)[\s\S]*$/,_=/^([^:]+:\/*[^/]*)[\s\S]*$/,k={exec:function(){}};function E(e){let t=1,n,r;for(;t{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function M(e,t,n,r){let i=t.href,o=t.title?h(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;let e={type:"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a,[])};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:o,text:h(a)}}class P{constructor(e){this.options=e||i}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:S(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t){let n=e.match(/^(\s+)(?:```)/);if(null===n)return t;let r=n[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[n]=t;return n.length>=r.length?e.slice(r.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim():t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=S(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}let n={type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:[]};return this.lexer.inline(n.text,n.tokens),n}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(e,[]),text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,i,o,a,s,l,u,c,h,d,p,f=t[1].trim(),m=f.length>1,g={type:"list",raw:"",ordered:m,start:m?+f.slice(0,-1):"",loose:!1,items:[]};f=m?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=m?f:"[*+-]");let y=RegExp(`^( {0,3}${f})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(p=!1,!(!(t=y.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),u=t[2].split("\n",1)[0],c=e.split("\n",1)[0],this.options.pedantic?(o=2,d=u.trimLeft()):(o=(o=t[2].search(/[^ ]/))>4?1:o,d=u.slice(o),o+=t[1].length),s=!1,!u&&/^ *$/.test(c)&&(n+=c+"\n",e=e.substring(c.length+1),p=!0),!p){let t=RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),i=RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),a=RegExp(`^ {0,${Math.min(3,o-1)}}#`);for(;e&&(u=h=e.split("\n",1)[0],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(i.test(u)||a.test(u)||t.test(u)||r.test(e)));){if(u.search(/[^ ]/)>=o||!u.trim())d+="\n"+u.slice(o);else if(s)break;else d+="\n"+u;s||u.trim()||(s=!0),n+=h+"\n",e=e.substring(h.length+1)}}!g.loose&&(l?g.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(d))&&(i="[ ] "!==r[0],d=d.replace(/^\[[ xX]\] +/,"")),g.items.push({type:"list_item",raw:n,task:!!r,checked:i,loose:!1,text:d}),g.raw+=n}g.items[g.items.length-1].raw=n.trimRight(),g.items[g.items.length-1].text=d.trimRight(),g.raw=g.raw.trimRight();let v=g.items.length;for(a=0;a"space"===e.type),t=e.every(e=>{let t=e.raw.split(""),n=0;for(let e of t)if("\n"===e&&(n+=1),n>1)return!0;return!1});!g.loose&&e.length&&t&&(g.loose=!0,g.items[a].loose=!0)}return g}}html(e){let t=this.rules.block.html.exec(e);if(t){let e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(e.type="paragraph",e.text=this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]),e.tokens=[],this.lexer.inline(e.text,e.tokens)),e}}def(e){let t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{type:"def",tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}table(e){let t=this.rules.block.table.exec(e);if(t){let e={type:"table",header:A(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){let n,r,i,o;e.raw=t[0];let a=e.align.length;for(n=0;n({text:e}));for(r=0,a=e.header.length;r/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):h(t[0]):t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;let t=S(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(")"))return -1;let n=e.length,r=0,i=0;for(;i-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^$/.test(e)?n.slice(1):n.slice(1,-1)),M(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(!(e=t[e.toLowerCase()])||!e.href){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return M(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r||r[3]&&n.match(/[\p{L}\p{N}]/u))return;let i=r[1]||r[2]||"";if(!i||i&&(""===n||this.rules.inline.punctuation.exec(n))){let n=r[0].length-1,i,o,a=n,s=0,l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(o=i.length,r[3]||r[4]){a+=o;continue}if((r[5]||r[6])&&n%3&&!((n+o)%3)){s+=o;continue}if((a-=o)>0)continue;if(Math.min(n,o=Math.min(o,o+a+s))%2){let t=e.slice(1,n+r.index+o);return{type:"em",raw:e.slice(0,n+r.index+o+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}let t=e.slice(2,n+r.index+o-1);return{type:"strong",raw:e.slice(0,n+r.index+o+1),text:t,tokens:this.lexer.inlineTokens(t,[])}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=h(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}}autolink(e,t){let n=this.rules.inline.autolink.exec(e);if(n){let e,r;return r="@"===n[2]?"mailto:"+(e=h(this.options.mangle?t(n[1]):n[1])):e=h(n[1]),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])r="mailto:"+(e=h(this.options.mangle?t(n[0]):n[0]));else{let t;do t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(t!==n[0]);e=h(n[0]),r="www."===n[1]?"http://"+e:e}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){let n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):h(n[0]):n[0]:h(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}let O={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:k,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};O._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,O._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,O.def=m(O.def).replace("label",O._label).replace("title",O._title).getRegex(),O.bullet=/(?:[*+-]|\d{1,9}[.)])/,O.listItemStart=m(/^( *)(bull) */).replace("bull",O.bullet).getRegex(),O.list=m(O.list).replace(/bull/g,O.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+O.def.source+")").getRegex(),O._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",O._comment=/|$)/,O.html=m(O.html,"i").replace("comment",O._comment).replace("tag",O._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),O.paragraph=m(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.blockquote=m(O.blockquote).replace("paragraph",O.paragraph).getRegex(),O.normal=E({},O),O.gfm=E({},O.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),O.gfm.table=m(O.gfm.table).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.gfm.paragraph=m(O._paragraph).replace("hr",O.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",O.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",O._tag).getRegex(),O.pedantic=E({},O.normal,{html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",O._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:k,paragraph:m(O.normal._paragraph).replace("hr",O.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",O.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});let D={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(r="x"+r.toString(16)),t+="&#"+r+";";return t}D._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",D.punctuation=m(D.punctuation).replace(/punctuation/g,D._punctuation).getRegex(),D.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,D.escapedEmSt=/\\\*|\\_/g,D._comment=m(O._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),D.emStrong.lDelim=m(D.emStrong.lDelim).replace(/punct/g,D._punctuation).getRegex(),D.emStrong.rDelimAst=m(D.emStrong.rDelimAst,"g").replace(/punct/g,D._punctuation).getRegex(),D.emStrong.rDelimUnd=m(D.emStrong.rDelimUnd,"g").replace(/punct/g,D._punctuation).getRegex(),D._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,D._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,D._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,D.autolink=m(D.autolink).replace("scheme",D._scheme).replace("email",D._email).getRegex(),D._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,D.tag=m(D.tag).replace("comment",D._comment).replace("attribute",D._attribute).getRegex(),D._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,D._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,D._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,D.link=m(D.link).replace("label",D._label).replace("href",D._href).replace("title",D._title).getRegex(),D.reflink=m(D.reflink).replace("label",D._label).replace("ref",O._label).getRegex(),D.nolink=m(D.nolink).replace("ref",O._label).getRegex(),D.reflinkSearch=m(D.reflinkSearch,"g").replace("reflink",D.reflink).replace("nolink",D.nolink).getRegex(),D.normal=E({},D),D.pedantic=E({},D.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",D._label).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",D._label).getRegex()}),D.gfm=E({},D.normal,{escape:m(D.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+" ".repeat(n.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&("paragraph"===r.type||"text"===r.type)?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&("paragraph"===r.type||"text"===r.type)?(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,n=1/0,r=e.slice(1);this.options.extensions.startBlock.forEach(function(e){"number"==typeof(t=e.call({lexer:this},r))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(i=e.substring(0,n+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){r=t[t.length-1],o&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),o=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,i,o,a,s,l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+T("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+T("a",o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),(r=t[t.length-1])&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,l,s))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e,N))||!this.state.inLink&&(n=this.tokenizer.url(e,N))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,n=1/0,r=e.slice(1);this.options.extensions.startInline.forEach(function(e){"number"==typeof(t=e.call({lexer:this},r))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(i=e.substring(0,n+1))}if(n=this.tokenizer.inlineText(i,I)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0,(r=t[t.length-1])&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class L{constructor(e){this.options=e||i}code(e,t,n){let r=(t||"").match(/\S*/)[0];if(this.options.highlight){let t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return(e=e.replace(/\n$/,"")+"\n",r)?'
'+(n?e:h(e,!0))+"
\n":"
"+(n?e:h(e,!0))+"
\n"}blockquote(e){return`
${e}
`}html(e){return e}heading(e,t,n,r){if(this.options.headerIds){let i=this.options.headerPrefix+r.slug(n);return`${e} `}return`${e} `}hr(){return this.options.xhtml?"
\n":"
\n"}list(e,t,n){let r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}listitem(e){return`
  • ${e}
  • `}checkbox(e){return" "}paragraph(e){return`

    ${e}

    `}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return` ${e} `}tablecell(e,t){let n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` `}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,n){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return n;let r='"}image(e,t,n){if(null===(e=v(this.options.sanitize,this.options.baseUrl,e)))return n;let r=`${n}":">"}text(e){return e}}class B{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class F{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do n=e+"-"+ ++r;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){let n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class j{constructor(e){this.options=e||i,this.options.renderer=this.options.renderer||new L,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new B,this.slugger=new F}static parse(e,t){return new j(t).parse(e)}static parseInline(e,t){return new j(t).parseInline(e)}parse(e,t=!0){let n="",r,i,o,a,s,l,u,c,h,d,f,m,g,y,v,b,w,x,_,k=e.length;for(r=0;r0&&"paragraph"===v.tokens[0].type?(v.tokens[0].text=x+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&"text"===v.tokens[0].tokens[0].type&&(v.tokens[0].tokens[0].text=x+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:x}):y+=x),y+=this.parse(v.tokens,g),h+=this.renderer.listitem(y,w,b);n+=this.renderer.list(h,f,m);continue;case"html":n+=this.renderer.html(d.text);continue;case"paragraph":n+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(h=d.tokens?this.parseInline(d.tokens):d.text;r+1{i(e.text,e.lang,function(t,n){if(t)return o(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==--a&&o()})},0))}),void(0===a&&o())}try{let n=R.lex(e,t);return t.walkTokens&&U.walkTokens(n,t.walkTokens),j.parse(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"

    An error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}}U.options=U.setOptions=function(e){return E(U.defaults,e),i=U.defaults,U},U.getDefaults=r,U.defaults=i,U.use=function(...e){let t,n=E({},...e),r=U.defaults.extensions||{renderers:{},childTokens:{}};e.forEach(e=>{if(e.extensions&&(t=!0,e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if(e.renderer){let t=r.renderers?r.renderers[e.name]:null;t?r.renderers[e.name]=function(...n){let r=e.renderer.apply(this,n);return!1===r&&(r=t.apply(this,n)),r}:r.renderers[e.name]=e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");r[e.level]?r[e.level].unshift(e.tokenizer):r[e.level]=[e.tokenizer],e.start&&("block"===e.level?r.startBlock?r.startBlock.push(e.start):r.startBlock=[e.start]:"inline"===e.level&&(r.startInline?r.startInline.push(e.start):r.startInline=[e.start]))}e.childTokens&&(r.childTokens[e.name]=e.childTokens)})),e.renderer){let t=U.defaults.renderer||new L;for(let n in e.renderer){let r=t[n];t[n]=(...i)=>{let o=e.renderer[n].apply(t,i);return!1===o&&(o=r.apply(t,i)),o}}n.renderer=t}if(e.tokenizer){let t=U.defaults.tokenizer||new P;for(let n in e.tokenizer){let r=t[n];t[n]=(...i)=>{let o=e.tokenizer[n].apply(t,i);return!1===o&&(o=r.apply(t,i)),o}}n.tokenizer=t}if(e.walkTokens){let t=U.defaults.walkTokens;n.walkTokens=function(n){e.walkTokens.call(this,n),t&&t.call(this,n)}}t&&(n.extensions=r),U.setOptions(n)})},U.walkTokens=function(e,t){for(let n of e)switch(t.call(U,n),n.type){case"table":for(let e of n.header)U.walkTokens(e.tokens,t);for(let e of n.rows)for(let n of e)U.walkTokens(n.tokens,t);break;case"list":U.walkTokens(n.items,t);break;default:U.defaults.extensions&&U.defaults.extensions.childTokens&&U.defaults.extensions.childTokens[n.type]?U.defaults.extensions.childTokens[n.type].forEach(function(e){U.walkTokens(n[e],t)}):n.tokens&&U.walkTokens(n.tokens,t)}},U.parseInline=function(e,t){if(null==e)throw Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");C(t=E({},U.defaults,t||{}));try{let n=R.lexInline(e,t);return t.walkTokens&&U.walkTokens(n,t.walkTokens),j.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"

    An error occurred:

    "+h(e.message+"",!0)+"
    ";throw e}},U.Parser=j,U.parser=j.parse,U.Renderer=L,U.TextRenderer=B,U.Lexer=R,U.lexer=R.lex,U.Tokenizer=P,U.Slugger=F,U.parse=U,U.options,U.setOptions,U.use,U.walkTokens,U.parseInline,j.parse,R.lex},34818:(e,t,n)=>{"use strict";n.d(t,{E:()=>u,p:()=>c});var r=n(8605),i=n(75253),o=n(21662),a=n(53303),s=n(67584),l=n(55729);let u=(0,l.createContext)({}),c=(0,i.U7)(function(e,t){[e,t]=(0,r.JT)(e,t,u);let{hoverProps:n,isHovered:i}=(0,o.M)(e),{isFocused:c,isFocusVisible:h,focusProps:d}=(0,a.o)({isTextInput:!0,autoFocus:e.autoFocus}),p=!!e["aria-invalid"]&&"false"!==e["aria-invalid"],f=(0,r.Sl)({...e,values:{isHovered:i,isFocused:c,isFocusVisible:h,isDisabled:e.disabled||!1,isInvalid:p},defaultClassName:"react-aria-Input"});return l.createElement("input",{...(0,s.v)((e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i})(e),d,n),...f,ref:t,"data-focused":c||void 0,"data-disabled":e.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":h||void 0,"data-invalid":p||void 0})})},34975:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){var t;if(!(t=r.exec(e)))throw Error("invalid format: "+e);return new o({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function o(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},35070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{arc:()=>r.A,area:()=>i.A,areaRadial:()=>p,curveBasis:()=>X,curveBasisClosed:()=>J,curveBasisOpen:()=>ee,curveBundle:()=>en,curveCardinal:()=>er.Ay,curveCardinalClosed:()=>eo,curveCardinalOpen:()=>es,curveCatmullRom:()=>el.A,curveCatmullRomClosed:()=>ec,curveCatmullRomOpen:()=>ed,curveLinear:()=>s.A,curveLinearClosed:()=>ef,curveMonotoneX:()=>ex,curveMonotoneY:()=>e_,curveNatural:()=>eA,curveStep:()=>eC,curveStepAfter:()=>eM,curveStepBefore:()=>eT,line:()=>o.A,lineRadial:()=>d,linkHorizontal:()=>A,linkRadial:()=>C,linkVertical:()=>S,pie:()=>a.A,pointRadial:()=>f,radialArea:()=>p,radialLine:()=>d,stack:()=>eP.A,stackOffsetDiverging:()=>eD.A,stackOffsetExpand:()=>eO.A,stackOffsetNone:()=>eI.A,stackOffsetSilhouette:()=>eN,stackOffsetWiggle:()=>eR,stackOrderAppearance:()=>eB,stackOrderAscending:()=>ej,stackOrderDescending:()=>ez,stackOrderInsideOut:()=>e$,stackOrderNone:()=>eL.A,stackOrderReverse:()=>eH,symbol:()=>q,symbolCircle:()=>M,symbolCross:()=>P,symbolDiamond:()=>I,symbolSquare:()=>F,symbolStar:()=>B,symbolTriangle:()=>U,symbolWye:()=>V,symbols:()=>W});var r=n(86640),i=n(15905),o=n(16930),a=n(10095),s=n(41777),l=c(s.A);function u(e){this._curve=e}function c(e){function t(t){return new u(e(t))}return t._curve=e,t}function h(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(c(e)):t()._curve},e}function d(){return h((0,o.A)().curve(l))}function p(){var e=(0,i.A)().curve(l),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return h(n())},delete e.lineX0,e.lineEndAngle=function(){return h(r())},delete e.lineX1,e.lineInnerRadius=function(){return h(o())},delete e.lineY0,e.lineOuterRadius=function(){return h(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(c(e)):t()._curve},e}function f(e,t){return[(t*=1)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}u.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),-(t*Math.cos(e)))}};var m=n(47347),g=n(94893),y=n(11116),v=n(67710);function b(e){return e.source}function w(e){return e.target}function x(e){var t=b,n=w,r=v.x,i=v.y,o=null;function a(){var a,s=g.d.call(arguments),l=t.apply(this,s),u=n.apply(this,s);if(o||(o=a=(0,m.A)()),e(o,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=u,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"==typeof e?e:(0,y.A)(+e),a):r},a.y=function(e){return arguments.length?(i="function"==typeof e?e:(0,y.A)(+e),a):i},a.context=function(e){return arguments.length?(o=null==e?null:e,a):o},a}function _(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function k(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function E(e,t,n,r,i){var o=f(t,n),a=f(t,n=(n+i)/2),s=f(r,n),l=f(r,i);e.moveTo(o[0],o[1]),e.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}function A(){return x(_)}function S(){return x(k)}function C(){var e=x(E);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var T=n(1714);let M={draw:function(e,t){var n=Math.sqrt(t/T.pi);e.moveTo(n,0),e.arc(0,0,n,0,T.FA)}},P={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}};var O=Math.sqrt(1/3),D=2*O;let I={draw:function(e,t){var n=Math.sqrt(t/D),r=n*O;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}};var N=Math.sin(T.pi/10)/Math.sin(7*T.pi/10),R=Math.sin(T.FA/10)*N,L=-Math.cos(T.FA/10)*N;let B={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=R*n,i=L*n;e.moveTo(0,-n),e.lineTo(r,i);for(var o=1;o<5;++o){var a=T.FA*o/5,s=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*i,l*r+s*i)}e.closePath()}},F={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}};var j=Math.sqrt(3);let U={draw:function(e,t){var n=-Math.sqrt(t/(3*j));e.moveTo(0,2*n),e.lineTo(-j*n,-n),e.lineTo(j*n,-n),e.closePath()}};var z=Math.sqrt(3)/2,$=1/Math.sqrt(12),H=($/2+1)*3;let V={draw:function(e,t){var n=Math.sqrt(t/H),r=n/2,i=n*$,o=n*$+n,a=-r;e.moveTo(r,i),e.lineTo(r,o),e.lineTo(a,o),e.lineTo(-.5*r-z*i,z*r+-.5*i),e.lineTo(-.5*r-z*o,z*r+-.5*o),e.lineTo(-.5*a-z*o,z*a+-.5*o),e.lineTo(-.5*r+z*i,-.5*i-z*r),e.lineTo(-.5*r+z*o,-.5*o-z*r),e.lineTo(-.5*a+z*o,-.5*o-z*a),e.closePath()}};var W=[M,P,I,F,B,U,V];function q(){var e=(0,y.A)(M),t=(0,y.A)(64),n=null;function r(){var r;if(n||(n=r=(0,m.A)()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,y.A)(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,y.A)(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r}function Y(){}function G(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function K(e){this._context=e}function X(e){return new K(e)}function Z(e){this._context=e}function J(e){return new Z(e)}function Q(e){this._context=e}function ee(e){return new Q(e)}function et(e,t){this._basis=new K(e),this._beta=t}K.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:G(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:G(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Z.prototype={areaStart:Y,areaEnd:Y,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:G(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:G(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},et.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};let en=function e(t){function n(e){return 1===t?new K(e):new et(e,t)}return n.beta=function(t){return e(+t)},n}(.85);var er=n(98664);function ei(e,t){this._context=e,this._k=(1-t)/6}ei.prototype={areaStart:Y,areaEnd:Y,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,er.zx)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let eo=function e(t){function n(e){return new ei(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ea(e,t){this._context=e,this._k=(1-t)/6}ea.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,er.zx)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let es=function e(t){function n(e){return new ea(e,t)}return n.tension=function(t){return e(+t)},n}(0);var el=n(43740);function eu(e,t){this._context=e,this._alpha=t}eu.prototype={areaStart:Y,areaEnd:Y,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:(0,el.z)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ec=function e(t){function n(e){return t?new eu(e,t):new ei(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function eh(e,t){this._context=e,this._alpha=t}eh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:(0,el.z)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ed=function e(t){function n(e){return t?new eh(e,t):new ea(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ep(e){this._context=e}function ef(e){return new ep(e)}function em(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function eg(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function ey(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function ev(e){this._context=e}function eb(e){this._context=new ew(e)}function ew(e){this._context=e}function ex(e){return new ev(e)}function e_(e){return new eb(e)}function ek(e){this._context=e}function eE(e){var t,n,r=e.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(t=0,o[r-1]=(e[r]+i[r-1])/2;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var eP=n(69604),eO=n(45644),eD=n(93291),eI=n(96473);function eN(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;ao&&(o=t,r=n);return r}function ej(e){var t=e.map(eU);return(0,eL.A)(e).sort(function(e,n){return t[e]-t[n]})}function eU(e){for(var t,n=0,r=-1,i=e.length;++r{var r=n(83965),i=n(93803);e.exports=function(e,t){return r(i(e,t),1)}},35387:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(75886),i="object"==typeof self&&self&&self.Object===Object&&self;let o=r.A||i||Function("return this")()},35561:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(51645),i=n(94916),o=n(64816),a=n(34035),s=n(115),l=n(61036),u=n(99772);function c(e,t){var n,c,h,d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.A)(2,arguments);var p=d.locale||s.A;if(!p.formatDistance)throw RangeError("locale must contain formatDistance property");var f=(0,r.A)(e,t);if(isNaN(f))throw RangeError("Invalid time value");var m=(0,l.A)(d);m.addSuffix=!!d.addSuffix,m.comparison=f,f>0?(n=(0,i.A)(t),c=(0,i.A)(e)):(n=(0,i.A)(e),c=(0,i.A)(t));var g=function(e,t){(0,o.A)(2,arguments);var n=(0,a.A)(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}(c,n),y=Math.round((g-((0,u.A)(c)-(0,u.A)(n))/1e3)/60);if(y<2)if(d.includeSeconds)if(g<5)return p.formatDistance("lessThanXSeconds",5,m);else if(g<10)return p.formatDistance("lessThanXSeconds",10,m);else if(g<20)return p.formatDistance("lessThanXSeconds",20,m);else if(g<40)return p.formatDistance("halfAMinute",null,m);else if(g<60)return p.formatDistance("lessThanXMinutes",1,m);else return p.formatDistance("xMinutes",1,m);else if(0===y)return p.formatDistance("lessThanXMinutes",1,m);else return p.formatDistance("xMinutes",y,m);if(y<45)return p.formatDistance("xMinutes",y,m);if(y<90)return p.formatDistance("aboutXHours",1,m);if(y<1440){var v=Math.round(y/60);return p.formatDistance("aboutXHours",v,m)}if(y<2520)return p.formatDistance("xDays",1,m);else if(y<43200){var b=Math.round(y/1440);return p.formatDistance("xDays",b,m)}else if(y<86400)return h=Math.round(y/43200),p.formatDistance("aboutXMonths",h,m);if((h=function(e,t){(0,o.A)(2,arguments);var n,a=(0,i.A)(e),s=(0,i.A)(t),l=(0,r.A)(a,s),u=Math.abs(function(e,t){(0,o.A)(2,arguments);var n=(0,i.A)(e),r=(0,i.A)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(a,s));if(u<1)n=0;else{1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-l*u);var c=(0,r.A)(a,s)===-l;(function(e){(0,o.A)(1,arguments);var t=(0,i.A)(e);return(function(e){(0,o.A)(1,arguments);var t=(0,i.A)(e);return t.setHours(23,59,59,999),t})(t).getTime()===(function(e){(0,o.A)(1,arguments);var t=(0,i.A)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t})(t).getTime()})((0,i.A)(e))&&1===u&&1===(0,r.A)(e,s)&&(c=!1),n=l*(u-Number(c))}return 0===n?0:n}(c,n))<12){var w=Math.round(y/43200);return p.formatDistance("xMonths",w,m)}var x=h%12,_=Math.floor(h/12);return x<3?p.formatDistance("aboutXYears",_,m):x<9?p.formatDistance("overXYears",_,m):p.formatDistance("almostXYears",_+1,m)}},35658:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,n:()=>a});var r=n(37243),i=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,o=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,a=r.CU.create({name:"strike",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>!!e.includes("line-through")&&{}}],renderHTML({HTMLAttributes:e}){return["s",(0,r.KV)(this.options.HTMLAttributes,e),0]},markdownTokenName:"del",parseMarkdown:(e,t)=>t.applyMark("strike",t.parseInline(e.tokens||[])),renderMarkdown:(e,t)=>`~~${t.renderChildren(e)}~~`,addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,r.OX)({find:i,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:o,type:this.type})]}}),s=a},35744:e=>{e.exports=function(e){if("number"!=typeof e||isNaN(e))throw TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var i=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+i:(t?"-":"")+e.toFixed(1)+" "+i}},35802:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(19379),i=n(50674),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let s=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,i.A)(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},35896:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(55729),i=globalThis?.document?r.useLayoutEffect:()=>{}},35924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(55729);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36027:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});let r=(0,n(55729).createContext)({})},36044:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64032),i=n(6088),o=n(41952);let a=function(e,t){return(0,o.A)((0,i.A)(e,t,r.A),e+"")}},36062:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l,r:()=>s});var r=n(6029),i=n(21938),o=n(45460),a=n(2241);let s=(0,o.R)(function(e,t){let{isExternal:n,target:o,rel:s,className:l,...u}=e;return(0,r.jsx)(a.B.a,{...u,ref:t,className:(0,i.cx)("chakra-linkbox__overlay",l),rel:n?"noopener noreferrer":s,target:n?"_blank":o,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),l=(0,o.R)(function(e,t){let{className:n,...o}=e;return(0,r.jsx)(a.B.div,{ref:t,position:"relative",...o,className:(0,i.cx)("chakra-linkbox",n),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})})},36215:(e,t,n)=>{"use strict";n.d(t,{vC:()=>M});var r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function i(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function o(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},l={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},u={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},c={16:!1,18:!1,17:!1,91:!1},h={},d=1;d<20;d++)s["f".concat(d)]=111+d;var p=[],f=!1,m="all",g=[],y=function(e){return s[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function v(e){m=e||"all"}function b(){return m||"all"}var w=function(e){var t=e.key,n=e.scope,r=e.method,i=e.splitKey,s=void 0===i?"+":i;a(t).forEach(function(e){var t=e.split(s),i=t.length,a=t[i-1],u="*"===a?"*":y(a);if(h[u]){n||(n=b());var c=i>1?o(l,t):[];h[u]=h[u].filter(function(e){return!((!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,o=0;o0,c)Object.prototype.hasOwnProperty.call(c,o)&&(!c[o]&&t.mods.indexOf(+o)>-1||c[o]&&-1===t.mods.indexOf(+o))&&(i=!1);(0!==t.mods.length||c[16]||c[18]||c[17]||c[91])&&!i&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function _(e,t){var n=h["*"],r=e.keyCode||e.which||e.charCode;if(k.filter.call(this,e)){if((93===r||224===r)&&(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var n=u[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(p=p.slice(p.indexOf(n)))}),r in c){for(var i in c[r]=!0,l)l[i]===r&&(k[i]=!0);if(!n)return}for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(c[o]=e[u[o]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),c[17]=!0,c[18]=!0);var a=b();if(n)for(var s=0;s1&&(u=o(l,e)),(e="*"===(e=e[e.length-1])?"*":y(e))in h||(h[e]=[]),h[e].push({keyup:b,keydown:w,scope:d,mods:u,shortcut:s[v],method:n,key:s[v],splitKey:x,element:m});void 0!==m&&(r=m,!(g.indexOf(r)>-1))&&window&&(g.push(m),i(m,"keydown",function(e){_(e,m)},E),f||(f=!0,i(window,"focus",function(){p=[]},E)),i(m,"keyup",function(e){_(e,m);var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n>=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),(93===t||224===t)&&(t=91),t in c)for(var r in c[t]=!1,l)l[r]===t&&(k[r]=!1)},E))}var E={setScope:v,getScope:b,deleteScope:function(e,t){var n,r;for(var i in e||(e=b()),h)if(Object.prototype.hasOwnProperty.call(h,i))for(r=0,n=h[i];r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(h).forEach(function(n){var r=h[n].find(function(n){return n.scope===t&&n.shortcut===e});r&&r.method&&r.method()})},unbind:function(e){if(void 0===e)Object.keys(h).forEach(function(e){return delete h[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&w(e)});else if("object"==typeof e)e.key&&w(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{"use strict";n.d(t,{T:()=>d});var r=n(6029),i=n(5858),o=n(32496),a=n(21938),s=n(79056),l=n(45460),u=n(8527),c=n(2241);let h=["h","minH","height","minHeight"],d=(0,l.R)((e,t)=>{let n=(0,u.V)("Textarea",e),{className:l,rows:d,...p}=(0,i.M)(e),f=(0,s.t)(p),m=d?(0,o.c)(n,h):n;return(0,r.jsx)(c.B.textarea,{ref:t,rows:d,...f,className:(0,a.cx)("chakra-textarea",l),__css:m})});d.displayName="Textarea"},36457:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...n(40574).U])},36523:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(62848);function i(e,t){return(0,r.P)(e,-t)}},36693:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(6029),i=n(19889),o=n(21938),a=n(49146),s=n(61400),l=n(45460),u=n(2241);let c=(0,l.R)(function(e,t){let n=(0,a.e)(),l=(0,s.Vh)({...e,ref:t}),c=(0,i.H2)({outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...n.tab});return(0,r.jsx)(u.B.button,{...l,className:(0,o.cx)("chakra-tabs__tab",e.className),__css:c})});c.displayName="Tab"},37041:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(90580),i=n(64816);function o(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),o=(0,r.A)(t);return n.getTime()===o.getTime()}},37110:(e,t,n)=>{"use strict";n.d(t,{f:()=>d});var r=n(54712),i=n(30062),o=n(60535);let a="default",s="",l=new WeakMap;var u=n(55729),c=n(34142),h=n(27423);function d(e){let{onMoveStart:t,onMove:n,onMoveEnd:d}=e,p=(0,u.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:f,removeGlobalListener:m}=(0,c.A)(),g=(0,h.J)((e,r,i,o)=>{(0!==i||0!==o)&&(p.current.didMove||(p.current.didMove=!0,null==t||t({type:"movestart",pointerType:r,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})),null==n||n({type:"move",pointerType:r,deltaX:i,deltaY:o,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))}),y=(0,h.J)((e,t)=>{var n;if((0,r.un)())"disabled"===a&&(a="restoring",setTimeout(()=>{(0,o.v)(()=>{if("restoring"===a){let e=(0,i.TW)(void 0);"none"===e.documentElement.style.webkitUserSelect&&(e.documentElement.style.webkitUserSelect=s||""),s="",a="default"}})},300));else if((n instanceof HTMLElement||n instanceof SVGElement)&&n&&l.has(n)){let e=l.get(n),t="userSelect"in n.style?"userSelect":"webkitUserSelect";"none"===n.style[t]&&(n.style[t]=e),""===n.getAttribute("style")&&n.removeAttribute("style"),l.delete(n)}p.current.didMove&&(null==d||d({type:"moveend",pointerType:t,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))});return{moveProps:(0,u.useMemo)(()=>{let e={},t=()=>{var e;if((0,r.un)()){if("default"===a){let e=(0,i.TW)(void 0);s=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}a="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";l.set(e,e.style[t]),e.style[t]="none"}p.current.didMove=!1};{let n=e=>{if(e.pointerId===p.current.id){var t,n,r,i;let o=e.pointerType||"mouse";g(e,o,e.pageX-(null!=(r=null==(t=p.current.lastPosition)?void 0:t.pageX)?r:0),e.pageY-(null!=(i=null==(n=p.current.lastPosition)?void 0:n.pageY)?i:0)),p.current.lastPosition={pageX:e.pageX,pageY:e.pageY}}},r=e=>{if(e.pointerId===p.current.id){let t=e.pointerType||"mouse";y(e,t),p.current.id=null,m(window,"pointermove",n,!1),m(window,"pointerup",r,!1),m(window,"pointercancel",r,!1)}};e.onPointerDown=e=>{0===e.button&&null==p.current.id&&(t(),e.stopPropagation(),e.preventDefault(),p.current.lastPosition={pageX:e.pageX,pageY:e.pageY},p.current.id=e.pointerId,f(window,"pointermove",n,!1),f(window,"pointerup",r,!1),f(window,"pointercancel",r,!1))}}let n=(e,n,r)=>{t(),g(e,"keyboard",n,r),y(e,"keyboard")};return e.onKeyDown=e=>{switch(e.key){case"Left":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),n(e,-1,0);break;case"Right":case"ArrowRight":e.preventDefault(),e.stopPropagation(),n(e,1,0);break;case"Up":case"ArrowUp":e.preventDefault(),e.stopPropagation(),n(e,0,-1);break;case"Down":case"ArrowDown":e.preventDefault(),e.stopPropagation(),n(e,0,1)}},e},[p,f,m,g,y])}}},37146:(e,t,n)=>{"use strict";n.d(t,{$:()=>r,V:()=>i});let r=()=>{},i=()=>{}},37393:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function o(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function a(e){if("undefined"==typeof ShadowRoot)return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}n.d(t,{Ay:()=>e$});var s=Math.max,l=Math.min,u=Math.round;function c(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(o(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=u(n.width)/s||1),a>0&&(i=u(n.height)/a||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function h(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e?(e.nodeName||"").toLowerCase():null}function p(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function f(e){return c(p(e)).left+h(e).scrollLeft}function m(e){return r(e).getComputedStyle(e)}function g(e){var t=m(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function y(e){var t=c(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function v(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||p(e)}function b(e,t){void 0===t&&(t=[]);var n,i=function e(t){return["html","body","#document"].indexOf(d(t))>=0?t.ownerDocument.body:o(t)&&g(t)?t:e(v(t))}(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),s=r(i),l=a?[s].concat(s.visualViewport||[],g(i)?i:[]):i,u=t.concat(l);return a?u:u.concat(b(v(l)))}function w(e){return o(e)&&"fixed"!==m(e).position?e.offsetParent:null}function x(e){for(var t=r(e),n=w(e);n&&["table","td","th"].indexOf(d(n))>=0&&"static"===m(n).position;)n=w(n);return n&&("html"===d(n)||"body"===d(n)&&"static"===m(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===m(e).position)return null;for(var n=v(e);o(n)&&0>["html","body"].indexOf(d(n));){var r=m(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var _="bottom",k="right",E="left",A="auto",S=["top",_,k,E],C="start",T="viewport",M="popper",P=S.reduce(function(e,t){return e.concat([t+"-"+C,t+"-end"])},[]),O=[].concat(S,[A]).reduce(function(e,t){return e.concat([t,t+"-"+C,t+"-end"])},[]),D=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],I={placement:"bottom",modifiers:[],strategy:"absolute"};function N(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function j(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?L(i):null,a=i?B(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:s,y:n.y-r.height};break;case _:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:l};break;case E:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=o?F(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case C:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function z(e){var t,n,i,o,a,s=e.popper,l=e.popperRect,c=e.placement,h=e.variation,d=e.offsets,f=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,b=e.isFixed,w=!0===v?(t=d.x,n=d.y,{x:u(t*(i=window.devicePixelRatio||1))/i||0,y:u(n*i)/i||0}):"function"==typeof v?v(d):d,A=w.x,S=void 0===A?0:A,C=w.y,T=void 0===C?0:C,M=d.hasOwnProperty("x"),P=d.hasOwnProperty("y"),O=E,D="top",I=window;if(y){var N=x(s),R="clientHeight",L="clientWidth";N===r(s)&&"static"!==m(N=p(s)).position&&"absolute"===f&&(R="scrollHeight",L="scrollWidth"),("top"===c||(c===E||c===k)&&"end"===h)&&(D=_,T-=(b&&I.visualViewport?I.visualViewport.height:N[R])-l.height,T*=g?1:-1),(c===E||("top"===c||c===_)&&"end"===h)&&(O=k,S-=(b&&I.visualViewport?I.visualViewport.width:N[L])-l.width,S*=g?1:-1)}var B=Object.assign({position:f},y&&U);return g?Object.assign({},B,((a={})[D]=P?"0":"",a[O]=M?"0":"",a.transform=1>=(I.devicePixelRatio||1)?"translate("+S+"px, "+T+"px)":"translate3d("+S+"px, "+T+"px, 0)",a)):Object.assign({},B,((o={})[D]=P?T+"px":"",o[O]=M?S+"px":"",o.transform="",o))}let $={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&d(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});o(r)&&d(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};var H={left:"right",right:"left",bottom:"top",top:"bottom"};function V(e){return e.replace(/left|right|bottom|top/g,function(e){return H[e]})}var W={start:"end",end:"start"};function q(e){return e.replace(/start|end/g,function(e){return W[e]})}function Y(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function G(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function K(e,t){var n,o,a,l,u,d,g,y,v,b,w,x,_,k,E,A,S;return t===T?G((n=r(e),o=p(e),a=n.visualViewport,l=o.clientWidth,u=o.clientHeight,d=0,g=0,a&&(l=a.width,u=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(d=a.offsetLeft,g=a.offsetTop)),{width:l,height:u,x:d+f(e),y:g})):i(t)?((y=c(t)).top=y.top+t.clientTop,y.left=y.left+t.clientLeft,y.bottom=y.top+t.clientHeight,y.right=y.left+t.clientWidth,y.width=t.clientWidth,y.height=t.clientHeight,y.x=y.left,y.y=y.top,y):G((v=p(e),w=p(v),x=h(v),_=null==(b=v.ownerDocument)?void 0:b.body,k=s(w.scrollWidth,w.clientWidth,_?_.scrollWidth:0,_?_.clientWidth:0),E=s(w.scrollHeight,w.clientHeight,_?_.scrollHeight:0,_?_.clientHeight:0),A=-x.scrollLeft+f(v),S=-x.scrollTop,"rtl"===m(_||w).direction&&(A+=s(w.clientWidth,_?_.clientWidth:0)-k),{width:k,height:E,x:A,y:S}))}function X(){return{top:0,right:0,bottom:0,left:0}}function Z(e){return Object.assign({},X(),e)}function J(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function Q(e,t){void 0===t&&(t={});var n,r,a,u,h,f,g,y,w,E=t,A=E.placement,C=void 0===A?e.placement:A,P=E.boundary,O=E.rootBoundary,D=E.elementContext,I=void 0===D?M:D,N=E.altBoundary,R=E.padding,L=void 0===R?0:R,B=Z("number"!=typeof L?L:J(L,S)),F=e.rects.popper,U=e.elements[void 0!==N&&N?I===M?"reference":M:I],z=(n=i(U)?U:U.contextElement||p(e.elements.popper),r=void 0===P?"clippingParents":P,a=void 0===O?T:O,y=(g=[].concat("clippingParents"===r?(u=b(v(n)),!i(f=(h=["absolute","fixed"].indexOf(m(n).position)>=0)&&o(n)?x(n):n)?[]:u.filter(function(e){return i(e)&&Y(e,f)&&"body"!==d(e)&&(!h||"static"!==m(e).position)})):[].concat(r),[a]))[0],(w=g.reduce(function(e,t){var r=K(n,t);return e.top=s(r.top,e.top),e.right=l(r.right,e.right),e.bottom=l(r.bottom,e.bottom),e.left=s(r.left,e.left),e},K(n,y))).width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w),$=c(e.elements.reference),H=j({reference:$,element:F,strategy:"absolute",placement:C}),V=G(Object.assign({},F,H)),W=I===M?V:$,q={top:z.top-W.top+B.top,bottom:W.bottom-z.bottom+B.bottom,left:z.left-W.left+B.left,right:W.right-z.right+B.right},X=e.modifiersData.offset;if(I===M&&X){var Q=X[C];Object.keys(q).forEach(function(e){var t=[k,_].indexOf(e)>=0?1:-1,n=["top",_].indexOf(e)>=0?"y":"x";q[e]+=Q[n]*t})}return q}function ee(e,t,n){return s(e,l(t,n))}function et(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function en(e){return["top",k,_,E].some(function(t){return e[t]>=0})}var er=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,a=void 0===n?[]:n,s=t.defaultOptions,l=void 0===s?I:s;return function(e,t,n){void 0===n&&(n=l);var s,m,v={placement:"bottom",orderedModifiers:[],options:Object.assign({},I,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},w=[],_=!1,k={state:v,setOptions:function(n){var r,o,s,u,c,h,d="function"==typeof n?n(v.options):n;E(),v.options=Object.assign({},l,v.options,d),v.scrollParents={reference:i(e)?b(e):e.contextElement?b(e.contextElement):[],popper:b(t)};var p=(o=Object.keys(r=[].concat(a,v.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),s=new Map,u=new Set,c=[],o.forEach(function(e){s.set(e.name,e)}),o.forEach(function(e){u.has(e.name)||function e(t){u.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!u.has(t)){var n=s.get(t);n&&e(n)}}),c.push(t)}(e)}),h=c,D.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return v.orderedModifiers=p.filter(function(e){return e.enabled}),v.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:v,name:t,instance:k,options:void 0===n?{}:n});w.push(i||function(){})}}),k.update()},forceUpdate:function(){if(!_){var e,t,n,i,a,s,l,m,b,w,E,A=v.elements,S=A.reference,C=A.popper;if(N(S,C)){v.rects={reference:(e=x(C),t="fixed"===v.options.strategy,n=o(e),l=o(e)&&(a=u((i=e.getBoundingClientRect()).width)/e.offsetWidth||1,s=u(i.height)/e.offsetHeight||1,1!==a||1!==s),m=p(e),b=c(S,l),w={scrollLeft:0,scrollTop:0},E={x:0,y:0},(n||!n&&!t)&&(("body"!==d(e)||g(m))&&(w=function(e){return e!==r(e)&&o(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:h(e)}(e)),o(e)?(E=c(e,!0),E.x+=e.clientLeft,E.y+=e.clientTop):m&&(E.x=f(m))),{x:b.left+w.scrollLeft-E.x,y:b.top+w.scrollTop-E.y,width:b.width,height:b.height}),popper:y(C)},v.reset=!1,v.placement=v.options.placement,v.orderedModifiers.forEach(function(e){return v.modifiersData[e.name]=Object.assign({},e.data)});for(var T=0;T=0?-1:1,l=(s="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0],u=s[1],l=l||0,u=(u||0)*a,[E,k].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,y=L(g)===g,v=l||(y||!f?[V(g)]:function(e){if(L(e)===A)return[];var t=V(e);return[q(e),t,q(t)]}(g)),b=[g].concat(v).reduce(function(e,n){var r,i,o,a,s,l,d,p,g,y,v,b;return e.concat(L(n)===A?(i=(r={placement:n,boundary:c,rootBoundary:h,padding:u,flipVariations:f,allowedAutoPlacements:m}).placement,o=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,p=void 0===(d=r.allowedAutoPlacements)?O:d,0===(v=(y=(g=B(i))?l?P:P.filter(function(e){return B(e)===g}):S).filter(function(e){return p.indexOf(e)>=0})).length&&(v=y),Object.keys(b=v.reduce(function(e,n){return e[n]=Q(t,{placement:n,boundary:o,rootBoundary:a,padding:s})[L(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,x=t.rects.popper,T=new Map,M=!0,D=b[0],I=0;I=0,U=j?"width":"height",z=Q(t,{placement:N,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),$=j?F?k:E:F?_:"top";w[U]>x[U]&&($=V($));var H=V($),W=[];if(o&&W.push(z[R]<=0),s&&W.push(z[$]<=0,z[H]<=0),W.every(function(e){return e})){D=N,M=!1;break}T.set(N,W)}if(M)for(var Y=f?3:1,G=function(e){var t=b.find(function(t){var n=T.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return D=t,"break"},K=Y;K>0&&"break"!==G(K);K--);t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=n.altAxis,a=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,m=void 0===f?0:f,g=Q(t,{boundary:a,rootBoundary:u,padding:h,altBoundary:c}),v=L(t.placement),b=B(t.placement),w=!b,A=F(v),S="x"===A?"y":"x",T=t.modifiersData.popperOffsets,M=t.rects.reference,P=t.rects.popper,O="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,D="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(T){if(void 0===i||i){var R,j="y"===A?"top":E,U="y"===A?_:k,z="y"===A?"height":"width",$=T[A],H=$+g[j],V=$-g[U],W=p?-P[z]/2:0,q=b===C?M[z]:P[z],Y=b===C?-P[z]:-M[z],G=t.elements.arrow,K=p&&G?y(G):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:X(),J=Z[j],et=Z[U],en=ee(0,M[z],K[z]),er=w?M[z]/2-W-en-J-D.mainAxis:q-en-J-D.mainAxis,ei=w?-M[z]/2+W+en+et+D.mainAxis:Y+en+et+D.mainAxis,eo=t.elements.arrow&&x(t.elements.arrow),ea=eo?"y"===A?eo.clientTop||0:eo.clientLeft||0:0,es=null!=(R=null==I?void 0:I[A])?R:0,el=ee(p?l(H,$+er-es-ea):H,$,p?s(V,$+ei-es):V);T[A]=el,N[A]=el-$}if(void 0!==o&&o){var eu,ec,eh="x"===A?"top":E,ed="x"===A?_:k,ep=T[S],ef="y"===S?"height":"width",em=ep+g[eh],eg=ep-g[ed],ey=-1!==["top",E].indexOf(v),ev=null!=(ec=null==I?void 0:I[S])?ec:0,eb=ey?em:ep-M[ef]-P[ef]-ev+D.altAxis,ew=ey?ep+M[ef]+P[ef]-ev-D.altAxis:eg,ex=p&&ey?(eu=ee(eb,ep,ew))>ew?ew:eu:ee(p?eb:em,ep,p?ew:eg);T[S]=ex,N[S]=ex-ep}t.modifiersData[r]=N}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=L(n.placement),l=F(s),u=[E,k].indexOf(s)>=0?"height":"width";if(o&&a){var c,h=(c=i.padding,Z("number"!=typeof(c="function"==typeof c?c(Object.assign({},n.rects,{placement:n.placement})):c)?c:J(c,S))),d=y(o),p="y"===l?"top":E,f="y"===l?_:k,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],v=x(o),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,w=h[p],A=b-d[u]-h[f],C=b/2-d[u]/2+(m/2-g/2),T=ee(w,C,A);n.modifiersData[r]=((t={})[l]=T,t.centerOffset=T-C,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;if(null!=r){if("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||!Y(t.elements.popper,r))return;t.elements.arrow=r}},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Q(t,{elementContext:"reference"}),s=Q(t,{altBoundary:!0}),l=et(a,r),u=et(s,i,o),c=en(l),h=en(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}}]}),ei="tippy-content",eo="tippy-arrow",ea="tippy-svg-arrow",es={passive:!0,capture:!0},el=function(){return document.body};function eu(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ec(e,t){var n=({}).toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function eh(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ed(e,t){var n;return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function ep(e){return[].concat(e)}function ef(e,t){-1===e.indexOf(t)&&e.push(t)}function em(e){return[].slice.call(e)}function eg(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function ey(){return document.createElement("div")}function ev(e){return["Element","Fragment"].some(function(t){return ec(e,t)})}function eb(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ew(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ex(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function e_(e,t){for(var n,r=t;r;){if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var ek={isTouch:!1},eE=0;function eA(){!ek.isTouch&&(ek.isTouch=!0,window.performance&&document.addEventListener("mousemove",eS))}function eS(){var e=performance.now();e-eE<20&&(ek.isTouch=!1,document.removeEventListener("mousemove",eS)),eE=e}function eC(){var e=document.activeElement;if(e&&e._tippy&&e._tippy.reference===e){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var eT="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto,eM=Object.assign({appendTo:el,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),eP=Object.keys(eM);function eO(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=eM[i])?r:o),t},{});return Object.assign({},e,t)}function eD(e,t){var n,r=Object.assign({},t,{content:eh(t.content,[e])},t.ignoreAttributes?{}:((n=t.plugins)?Object.keys(eO(Object.assign({},eM,{plugins:n}))):eP).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{}));return r.aria=Object.assign({},eM.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function eI(e,t){e.innerHTML=t}function eN(e){var t=ey();return!0===e?t.className=eo:(t.className=ea,ev(e)?t.appendChild(e):eI(t,e)),t}function eR(e,t){ev(t.content)?(eI(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?eI(e,t.content):e.textContent=t.content)}function eL(e){var t=e.firstElementChild,n=em(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(ei)}),arrow:n.find(function(e){return e.classList.contains(eo)||e.classList.contains(ea)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function eB(e){var t=ey(),n=ey();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ey();function i(n,r){var i=eL(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),(n.content!==r.content||n.allowHTML!==r.allowHTML)&&eR(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(eN(r.arrow))):o.appendChild(eN(r.arrow)):s&&o.removeChild(s)}return r.className=ei,r.setAttribute("data-state","hidden"),eR(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}eB.$$tippy=!0;var eF=1,ej=[],eU=[];function ez(e,t){void 0===t&&(t={});var n,r=eM.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",eA,es),window.addEventListener("blur",eC);var i=Object.assign({},t,{plugins:r}),o=(ev(n=e)?[n]:ec(n,"NodeList")?em(n):Array.isArray(n)?n:em(document.querySelectorAll(n))).reduce(function(e,t){var n=t&&function(e,t){var n,r,i,o,a,s,l,u,c=eD(e,Object.assign({},eM,eO(eg(t)))),h=!1,d=!1,p=!1,f=!1,m=[],g=ed(W,c.interactiveDebounce),y=eF++,v=(n=c.plugins).filter(function(e,t){return n.indexOf(e)===t}),b={id:y,reference:e,popper:ey(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){O("onBeforeUpdate",[b,t]),H();var n=b.props,r=eD(e,Object.assign({},n,eg(t),{ignoreAttributes:!0}));b.props=r,$(),n.interactiveDebounce!==r.interactiveDebounce&&(N(),g=ed(W,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?ep(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),I(),P(),_&&_(n,r),b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),O("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var t=b.state.isVisible,n=b.state.isDestroyed,r=!b.state.isEnabled,i=ek.isTouch&&!b.props.touch,o=eu(b.props.duration,0,eM.duration);if(!(t||n||r||i||(u||e).hasAttribute("disabled"))&&(O("onShow",[b],!1),!1!==b.props.onShow(b))){if(b.state.isVisible=!0,C()&&(x.style.visibility="visible"),P(),F(),b.state.isMounted||(x.style.transition="none"),C()){var a,s,c,h=eL(x);eb([h.box,h.content],0)}l=function(){var e;if(b.state.isVisible&&!f){if(f=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=eL(x),n=t.box,r=t.content;eb([n,r],o),ew([n,r],"visible")}D(),I(),ef(eU,b),null==(e=b.popperInstance)||e.forceUpdate(),O("onMount",[b]),b.props.animation&&C()&&U(o,function(){b.state.isShown=!0,O("onShown",[b])})}},s=b.props.appendTo,c=u||e,(a=b.props.interactive&&s===el||"parent"===s?c.parentNode:eh(s,[c])).contains(x)||a.appendChild(x),b.state.isMounted=!0,K()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=eu(b.props.duration,1,eM.duration);if(!e&&!t&&!n&&(O("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,f=!1,h=!1,C()&&(x.style.visibility="hidden"),N(),j(),P(!0),C()){var i,o=eL(x),a=o.box,s=o.content;b.props.animation&&(eb([a,s],r),ew([a,s],"hidden"))}(D(),I(),b.props.animation)?C()&&(i=b.unmount,U(r,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&i()})):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),ef(ej,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(X(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),eU=eU.filter(function(e){return e!==b}),b.state.isMounted=!1,O("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),H(),delete e._tippy,b.state.isDestroyed=!0,O("onDestroy",[b]))}};if(!c.render)return b;var w=c.render(b),x=w.popper,_=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var k=v.map(function(e){return e.fn(b)}),E=e.hasAttribute("aria-expanded");return $(),I(),P(),O("onCreate",[b]),c.showOnCreate&&J(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)}),b;function A(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===A()[0]}function C(){var e;return!!(null!=(e=b.props.render)&&e.$$tippy)}function T(){var t,n,r=(u||e).parentNode;return r&&null!=(n=ep(r)[0])&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function M(e){return b.state.isMounted&&!b.state.isVisible||ek.isTouch||a&&"focus"===a.type?0:eu(b.props.delay,+!e,eM.delay)}function P(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function O(e,t,n){if(void 0===n&&(n=!0),k.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var r;(r=b.props)[e].apply(r,t)}}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;ep(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function I(){!E&&b.props.aria.expanded&&ep(b.props.triggerTarget||e).forEach(function(t){b.props.interactive?t.setAttribute("aria-expanded",b.state.isVisible&&t===(u||e)?"true":"false"):t.removeAttribute("aria-expanded")})}function N(){T().removeEventListener("mousemove",g),ej=ej.filter(function(e){return e!==g})}function R(t){if(!ek.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!(b.props.interactive&&e_(x,n))){if(ep(b.props.triggerTarget||e).some(function(e){return e_(e,n)})){if(ek.isTouch||b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else O("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout(function(){d=!1}),b.state.isMounted||j())}}}function L(){p=!0}function B(){p=!1}function F(){var e=T();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,es),e.addEventListener("touchstart",B,es),e.addEventListener("touchmove",L,es)}function j(){var e=T();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,es),e.removeEventListener("touchstart",B,es),e.removeEventListener("touchmove",L,es)}function U(e,t){var n=eL(x).box;function r(e){e.target===n&&(ex(n,"remove",r),t())}if(0===e)return t();ex(n,"remove",s),ex(n,"add",r),s=r}function z(t,n,r){void 0===r&&(r=!1),ep(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function $(){S()&&(z("touchstart",V,{passive:!0}),z("touchend",q,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(z(e,V),e){case"mouseenter":z("mouseleave",q);break;case"focus":z(eT?"focusout":"blur",Y);break;case"focusin":z("focusout",Y)}})}function H(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function V(e){var t,n=!1;if(!(!b.state.isEnabled||G(e))&&!d){var r=(null==(t=a)?void 0:t.type)==="focus";a=e,u=e.currentTarget,I(),!b.state.isVisible&&ec(e,"MouseEvent")&&ej.forEach(function(t){return t(e)}),"click"===e.type&&(0>b.props.trigger.indexOf("mouseenter")||h)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:J(e),"click"===e.type&&(h=!n),n&&!r&&Q(e)}}function W(t){var n,r,i,o=t.target,a=(u||e).contains(o)||x.contains(o);("mousemove"!==t.type||!a)&&(n=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:c}:null}).filter(Boolean),r=t.clientX,i=t.clientY,n.every(function(e){var t=e.popperRect,n=e.popperState,o=e.props.interactiveBorder,a=n.placement.split("-")[0],s=n.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,h="left"===a?s.right.x:0,d=t.top-i+l>o,p=i-t.bottom-u>o,f=t.left-r+c>o,m=r-t.right-h>o;return d||p||f||m})&&(N(),Q(t)))}function q(e){if(!(G(e)||b.props.trigger.indexOf("click")>=0&&h)){if(b.props.interactive)return void b.hideWithInteractivity(e);Q(e)}}function Y(t){(!(0>b.props.trigger.indexOf("focusin"))||t.target===(u||e))&&(b.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||Q(t))}function G(e){return!!ek.isTouch&&S()!==e.type.indexOf("touch")>=0}function K(){X();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,s=C()?eL(x).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||u||e}:e,h=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=eL(x).box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];C()&&s&&h.push({name:"arrow",options:{element:s,padding:3}}),h.push.apply(h,(null==n?void 0:n.modifiers)||[]),b.popperInstance=er(c,x,Object.assign({},n,{placement:r,onFirstUpdate:l,modifiers:h}))}function X(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return em(x.querySelectorAll("[data-tippy-root]"))}function J(e){b.clearDelayTimeouts(),e&&O("onTrigger",[b,e]),F();var t=M(!0),n=A(),i=n[0],o=n[1];ek.isTouch&&"hold"===i&&o&&(t=o),t?r=setTimeout(function(){b.show()},t):b.show()}function Q(e){if(b.clearDelayTimeouts(),O("onUntrigger",[b,e]),!b.state.isVisible)return void j();if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0)||!h){var t=M(!1);t?i=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}}(t,i);return n&&e.push(n),e},[]);return ev(e)?o[0]:o}ez.defaultProps=eM,ez.setDefaultProps=function(e){Object.keys(e).forEach(function(t){eM[t]=e[t]})},ez.currentInput=ek,Object.assign({},$,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ez.setDefaultProps({render:eB});let e$=ez},37930:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(6029),i=n(21938),o=n(83550),a=n(53297);let s=e=>{let{className:t,title:n,...s}=e,l=(0,a.vX)(s);return(0,r.jsx)(o.r,{title:n,className:(0,i.cx)("chakra-menu__option-group",t),...l})};s.displayName="MenuOptionGroup"},37946:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,r:()=>i});let r={current:null},i={current:!1}},37951:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Object.prototype;let i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},38158:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r,t:()=>i});let r=2e4;function i(e){let t=0,n=e.next(t);for(;!n.done&&t=r?1/0:t}},38394:(e,t,n)=>{"use strict";function r(e,t){return Array(t+1).join(e)}n.d(t,{A:()=>O});var i,o=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function a(e){return c(e,o)}var s=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function l(e){return c(e,s)}var u=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function c(e,t){return t.indexOf(e.nodeName)>=0}function h(e,t){return e.getElementsByTagName&&t.some(function(t){return e.getElementsByTagName(t).length})}var d={};function p(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function f(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function m(e,t,n){for(var r=0;r-1)return!0}else if("function"==typeof r){if(r.call(e,t,n))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}(i,t,n))return i}}function g(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function y(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}d.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},d.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},d.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var i=Number(t.nodeName.charAt(1));if("setext"!==n.headingStyle||!(i<3))return"\n\n"+r("#",i)+" "+e+"\n\n";var o=r(1===i?"=":"-",e.length);return"\n\n"+e+"\n"+o+"\n\n"}},d.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},d.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},d.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var r=n.bulletListMarker+" ",i=t.parentNode;if("OL"===i.nodeName){var o=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,t);r=(o?Number(o)+a:a+1)+". "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},d.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},d.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var i,o=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],a=t.firstChild.textContent,s=n.fence.charAt(0),l=3,u=RegExp("^"+s+"{3,}","gm");i=u.exec(a);)i[0].length>=l&&(l=i[0].length+1);var c=r(s,l);return"\n\n"+c+o+"\n"+a.replace(/\n$/,"")+"\n"+c+"\n\n"}},d.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},d.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href"),r=p(t.getAttribute("title"));return r&&(r=' "'+r+'"'),"["+e+"]("+n+r+")"}},d.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,i,o=t.getAttribute("href"),a=p(t.getAttribute("title"));switch(a&&(a=' "'+a+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+o+a;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+o+a;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",i="["+s+"]: "+o+a}return this.references.push(i),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},d.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},d.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},d.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},d.image={filter:"img",replacement:function(e,t){var n=p(t.getAttribute("alt")),r=t.getAttribute("src")||"",i=p(t.getAttribute("title"));return r?"!["+n+"]("+r+(i?' "'+i+'"':"")+")":""}},f.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){var t;return e.isBlank?this.blankRule:(t=m(this.array,e,this.options))||(t=m(this._keep,e,this.options))||(t=m(this._remove,e,this.options))?t:this.defaultRule},forEach:function(e){for(var t=0;t'+e+"","text/html").getElementById("turndown-root"):e.cloneNode(!0),isBlock:a,isVoid:l,isPre:t.preformattedCode?x:null}),n}function x(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function _(e,t){var n;return e.isBlock=a(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=!l(n=e)&&!c(n,u)&&/^\s*$/i.test(n.textContent)&&!h(n,s)&&!h(n,u),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n,r={leading:(n=e.textContent.match(/^(([ \t\r\n]*)(\s*))[\s\S]*?((\s*?)([ \t\r\n]*))$/))[1],leadingAscii:n[2],leadingNonAscii:n[3],trailing:n[4],trailingNonAscii:n[5],trailingAscii:n[6]};return r.leadingAscii&&k("left",e,t)&&(r.leading=r.leadingNonAscii),r.trailingAscii&&k("right",e,t)&&(r.trailing=r.trailingNonAscii),{leading:r.leading,trailing:r.trailing}}(e,t),e}function k(e,t,n){var r,i,o;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?o=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?o=!1:1!==r.nodeType||a(r)||(o=i.test(r.textContent))),o}var E=Array.prototype.reduce,A=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function S(e){if(!(this instanceof S))return new S(e);this.options=function(e){for(var t=1;t0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),i=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,i)+r}S.prototype={turndown:function(e){var t;if(!(null!=(t=e)&&("string"==typeof t||t.nodeType&&(1===t.nodeType||9===t.nodeType||11===t.nodeType))))throw TypeError(e+" is not a string, or an element/document/fragment node.");return""===e?"":T.call(this,C.call(this,new w(e,this.options)))},use:function(e){if(Array.isArray(e))for(var t=0;t{"use strict";n.d(t,{A:()=>s});var r=n(55729);function i(){return(i=Object.assign||function(e){for(var t=1;t{"use strict";n.d(t,{A:()=>u});var r=n(49196),i=n(67810);let o=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,r.A)(e)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;let u=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&s.call(e,"callee")&&!l.call(e,"callee")}},38676:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var r=n(6029),i=n(21938),o=n(25062),a=n(45460),s=n(2241);let l=(0,a.R)(function(e,t){let{getHeaderProps:n}=(0,o.C_)(),a=(0,o.jm)();return(0,r.jsx)(s.B.header,{...n(e,t),className:(0,i.cx)("chakra-popover__header",e.className),__css:a.header})});l.displayName="PopoverHeader"},38719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(55729);function i(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},38742:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r="undefined"!=typeof window},38822:e=>{e.exports=function(e){return null==e}},38867:(e,t,n)=>{var r=n(19962),i=n(70930),o=n(5549);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},39017:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(32264),i=n(91),o=n(10854);function a(e,t){let n=(0,o.D)(e);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},39020:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71307),i=n(68493),o=n(37951);let a=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var s=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return a(e);var t=(0,o.A)(e),n=[];for(var r in e)"constructor"==r&&(t||!s.call(e,r))||n.push(r);return n};var u=n(61732);let c=function(e){return(0,u.A)(e)?(0,r.A)(e,!0):l(e)}},39099:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>w,Gw:()=>A,KI:()=>I,Q1:()=>i,Qh:()=>E,Uw:()=>a,b:()=>k,ef:()=>o});var r=n(66195);function i(){}var o=.7,a=1.4285714285714286,s="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c=/^#([0-9a-f]{3,8})$/,h=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgb\\(${u},${u},${u}\\)$`),p=RegExp(`^rgba\\(${s},${s},${s},${l}\\)$`),f=RegExp(`^rgba\\(${u},${u},${u},${l}\\)$`),m=RegExp(`^hsl\\(${l},${u},${u}\\)$`),g=RegExp(`^hsla\\(${l},${u},${u},${l}\\)$`),y={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function v(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function w(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=c.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?x(t):3===n?new A(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?_(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=h.exec(e))?new A(t[1],t[2],t[3],1):(t=d.exec(e))?new A(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=p.exec(e))?_(t[1],t[2],t[3],t[4]):(t=f.exec(e))?_(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?O(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?O(t[1],t[2]/100,t[3]/100,t[4]):y.hasOwnProperty(e)?x(y[e]):"transparent"===e?new A(NaN,NaN,NaN,0):null}function x(e){return new A(e>>16&255,e>>8&255,255&e,1)}function _(e,t,n,r){return r<=0&&(e=t=n=NaN),new A(e,t,n,r)}function k(e){return(e instanceof i||(e=w(e)),e)?new A((e=e.rgb()).r,e.g,e.b,e.opacity):new A}function E(e,t,n,r){return 1==arguments.length?k(e):new A(e,t,n,null==r?1:r)}function A(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return`#${P(this.r)}${P(this.g)}${P(this.b)}`}function C(){let e=T(this.opacity);return`${1===e?"rgb(":"rgba("}${M(this.r)}, ${M(this.g)}, ${M(this.b)}${1===e?")":`, ${e})`}`}function T(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function M(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function P(e){return((e=M(e))<16?"0":"")+e.toString(16)}function O(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new N(e,t,n,r)}function D(e){if(e instanceof N)return new N(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=w(e)),!e)return new N;if(e instanceof N)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=NaN,l=a-o,u=(a+o)/2;return l?(s=t===a?(n-r)/l+(n0&&u<1?0:s,new N(s,l,u,e.opacity)}function I(e,t,n,r){return 1==arguments.length?D(e):new N(e,t,n,null==r?1:r)}function N(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function R(e){return(e=(e||0)%360)<0?e+360:e}function L(e){return Math.max(0,Math.min(1,e||0))}function B(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}(0,r.A)(i,w,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return D(this).formatHsl()},formatRgb:b,toString:b}),(0,r.A)(A,E,(0,r.X)(i,{brighter(e){return e=null==e?a:Math.pow(a,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new A(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new A(M(this.r),M(this.g),M(this.b),T(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatHex8:function(){return`#${P(this.r)}${P(this.g)}${P(this.b)}${P((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:C,toString:C})),(0,r.A)(N,I,(0,r.X)(i,{brighter(e){return e=null==e?a:Math.pow(a,e),new N(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new N(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new A(B(e>=240?e-240:e+120,i,r),B(e,i,r),B(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new N(R(this.h),L(this.s),L(this.l),T(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=T(this.opacity);return`${1===e?"hsl(":"hsla("}${R(this.h)}, ${100*L(this.s)}%, ${100*L(this.l)}%${1===e?")":`, ${e})`}`}}))},39151:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>o,ob:()=>a}),n(31179);var r=n(55729),i="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?r.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=r.createContext(null));i.Consumer;var o=i.Provider,a=i},39408:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},39446:(e,t,n)=>{"use strict";n.d(t,{mS:()=>u,$G:()=>l,kv:()=>c});var r="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},i="1.9.0",o=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,a=function(e){var t=new Set([e]),n=new Set,r=e.match(o);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(null!=i.prerelease)return function(t){return t===e};function a(e){return n.add(e),!1}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;var r=e.match(o);if(!r)return a(e);var s={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(null!=s.prerelease||i.major!==s.major)return a(e);if(0===i.major)return i.minor===s.minor&&i.patch<=s.patch?(t.add(e),!0):a(e);return i.minor<=s.minor?(t.add(e),!0):a(e)}}(i),s=Symbol.for("opentelemetry.js.api."+i.split(".")[0]);function l(e,t,n,o){void 0===o&&(o=!1);var a,l=r[s]=null!=(a=r[s])?a:{version:i};if(!o&&l[e]){var u=Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(u.stack||u.message),!1}if(l.version!==i){var u=Error("@opentelemetry/api: Registration of version v"+l.version+" for "+e+" does not match previously registered API v"+i);return n.error(u.stack||u.message),!1}return l[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+i+"."),!0}function u(e){var t,n,i=null==(t=r[s])?void 0:t.version;if(i&&a(i))return null==(n=r[s])?void 0:n[e]}function c(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+i+".");var n=r[s];n&&delete n[e]}},39730:(e,t,n)=>{var r=n(61308),i=n(3540),o=n(73696),a=o&&o.isRegExp;e.exports=a?i(a):r},39750:(e,t,n)=>{"use strict";n.d(t,{f:()=>em});var r=n(25125);function i(e){e.duration=0,e.type="keyframes"}var o=n(50891),a=n(29903),s=n(11186),l=n(29255),u=n(78737),c=n(78416),h=n(50192);let d=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>o.Gt.update(t,e),stop:()=>(0,o.WG)(t),now:()=>o.uv.isProcessing?o.uv.timestamp:u.k.now()}};var p=n(53341),f=n(10013);function m({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let h,d,m=e[0],g={done:!1,value:m},y=n*t,v=m+y,b=void 0===a?v:a(v);b!==v&&(y=b-m);let w=e=>-y*Math.exp(-e/r),x=e=>b+w(e),_=e=>{let t=w(e),n=x(e);g.done=Math.abs(t)<=u,g.value=g.done?b:n},k=e=>{let t;if(t=g.value,void 0!==s&&tl){var n;h=e,d=(0,p.o)({keyframes:[g.value,(n=g.value,void 0===s?l:void 0===l||Math.abs(s-n){let t=!1;return(d||void 0!==h||(t=!0,_(e),k(e)),void 0!==h&&e>=h)?d.next(e-h):(t||_(e),g)}}}var g=n(15315);let y=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function v(e,t,n,r){return e===t&&n===r?g.l:i=>0===i||1===i?i:y(function(e,t,n,r,i){let o,a,s=0;do(o=y(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,n),t,r)}let b=v(.42,0,1,1),w=v(0,0,.58,1),x=v(.42,0,.58,1);var _=n(87133),k=n(37146),E=n(3681),A=n(55220);let S=v(.33,1.53,.69,.99),C=(0,A.G)(S),T=(0,E.V)(C),M=e=>(e*=2)<1?.5*C(e):.5*(2-Math.pow(2,-10*(e-1)));var P=n(57568);let O=e=>Array.isArray(e)&&"number"==typeof e[0],D={linear:g.l,easeIn:b,easeInOut:x,easeOut:w,circIn:P.po,circInOut:P.tn,circOut:P.yT,backIn:C,backInOut:T,backOut:S,anticipate:M},I=e=>{if(O(e)){(0,k.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,n,r,i]=e;return v(t,n,r,i)}return"string"==typeof e?((0,k.V)(void 0!==D[e],`Invalid easing type '${e}'`,"invalid-easing-type"),D[e]):e};var N=n(65735),R=n(76387);function L({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o=(0,_.h)(r)?r.map(I):I(r),a={done:!1,value:t[0]},s=(i=n&&n.length===t.length?n:(0,R.Z)(t),i.map(t=>t*e)),l=(0,N.G)(s,t,{ease:Array.isArray(o)?o:t.map(()=>o||x).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}var B=n(38158);let F=e=>null!==e;function j(e,{repeat:t,repeatType:n="loop"},r,i=1){let o=e.filter(F),a=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}let U={decay:m,inertia:m,tween:L,keyframes:L,spring:p.o};function z(e){"string"==typeof e.type&&(e.type=U[e.type])}class ${constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let H=e=>e/100;class V extends ${constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==u.k.now()&&this.tick(u.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},c.q.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;z(e);let{type:t=L,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e,{keyframes:s}=e,l=t||L;l!==L&&"number"!=typeof s[0]&&(this.mixKeyframes=(0,a.F)(H,(0,h.j)(s[0],s[1])),s=[0,100]);let u=l({...e,keyframes:s});"mirror"===i&&(this.mirroredGenerator=l({...e,keyframes:[...s].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,B.t)(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=u}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:c,repeat:h,repeatType:d,repeatDelay:p,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let w=this.currentTime,x=n;if(h){let e=Math.min(this.currentTime,r)/a,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===d?(n=1-n,p&&(n-=p/a)):"mirror"===d&&(x=o)),w=(0,s.q)(0,1,n)*a}let _=b?{done:!1,value:c[0]}:x.next(w);i&&(_.value=i(_.value));let{done:k}=_;b||null===l||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return E&&f!==m&&(_.value=j(c,this.options,y,this.speed)),g&&g(_.value),E&&this.finish(),_}then(e,t){return this.finished.then(e,t)}get duration(){return(0,l.X)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,l.X)(e)}get time(){return(0,l.X)(this.currentTime)}set time(e){e=(0,l.f)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(u.k.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,l.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=d,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(u.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,c.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}var W=n(6627),q=n(57672);function Y(e){let t;return()=>(void 0===t&&(t=e()),t)}let G=Y(()=>void 0!==window.ScrollTimeline);var K=n(21224);let X={},Z=function(e,t){let n=Y(e);return()=>X[t]??n()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var J=n(89933);let Q=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ee={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Q([0,.65,.55,1]),circOut:Q([.55,0,1,.45]),backIn:Q([.31,.01,.66,-.59]),backOut:Q([.33,1.53,.69,.99])};var et=n(97880);class en extends ${constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,(0,k.V)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:e,...t}){return(0,et.W)(e)&&Z()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u){let h={[t]:n};l&&(h.offset=l);let d=function e(t,n){if(t)return"function"==typeof t?Z()?(0,J.K)(t,n):"ease-out":O(t)?Q(t):Array.isArray(t)?t.map(t=>e(t,n)||ee.easeOut):ee[t]}(s,i);Array.isArray(d)&&(h.easing=d),K.Q.value&&c.q.waapi++;let p={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};u&&(p.pseudoElement=u);let f=e.animate(h,p);return K.Q.value&&f.finished.finally(()=>{c.q.waapi--}),f}(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=j(r,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){t.startsWith("--")?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,l.X)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,l.X)(e)}get time(){return(0,l.X)(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=(0,l.f)(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&G())?(this.animation.timeline=e,g.l):t(this)}}let er={anticipate:M,backInOut:T,circInOut:P.tn};class ei extends en{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in er&&(e.ease=er[e.ease])}(e),z(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new V({...o,autoplay:!1}),s=(0,l.f)(this.finishedTime??this.time);t.setWithVelocity(a.sample(s-10).value,a.sample(s).value,10),a.stop()}}var eo=n(32264);let ea=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eo.f.test(e)||"0"===e)&&!e.startsWith("url(")),es=new Set(["opacity","clipPath","filter","transform"]),el=Y(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eu extends ${constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",keyframes:a,name:s,motionValue:l,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=u.k.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:c,...h},p=c?.KeyframeResolver||q.h;this.keyframeResolver=new p(a,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:o,type:a,velocity:s,delay:l,isHandoff:c,onUpdate:h}=n;this.resolvedAt=u.k.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=ea(i,t),s=ea(o,t);return(0,k.$)(a===s,`You are trying to animate ${t} from "${i}" to "${o}". "${a?o:i}" is not an animatable value.`,"value-not-animatable"),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},p=!c&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return el()&&n&&es.has(n)&&("transform"!==n||!l)&&!s&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}(d)?new ei({...d,element:d.motionValue.owner.current}):new V(d);p.finished.then(()=>this.notifyFinished()).catch(g.l),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,q.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let ec=e=>null!==e;var eh=n(40574);let ed={type:"spring",stiffness:500,damping:25,restSpeed:10},ep={type:"keyframes",duration:.8},ef={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},em=(e,t,n,a={},s,u)=>c=>{let h=(0,r.r)(a,e)||{},d=h.delay||a.delay||0,{elapsed:p=0}=a;p-=(0,l.f)(d);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...h,delay:-p,onUpdate:e=>{t.set(e),h.onUpdate&&h.onUpdate(e)},onComplete:()=>{c(),h.onComplete&&h.onComplete()},name:e,motionValue:t,element:u?void 0:s};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(h)&&Object.assign(f,((e,{keyframes:t})=>t.length>2?ep:eh.f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ed:ef)(e,f)),f.duration&&(f.duration=(0,l.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,l.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let m=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(i(f),0===f.delay&&(m=!0)),(W.W.instantAnimations||W.W.skipAnimations)&&(m=!0,i(f),f.delay=0),f.allowFlatten=!h.type&&!h.ease,m&&!u&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(ec),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[o]}(f.keyframes,h);if(void 0!==e)return void o.Gt.update(()=>{f.onUpdate(e),f.onComplete()})}return h.isSync?new V(f):new eu(f)}},40041:(e,t,n)=>{"use strict";n.d(t,{s:()=>o,t:()=>i});var r=n(55729);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function o(...e){return(0,r.useCallback)(i(...e),e)}},40162:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,Q:()=>u});var r=n(6029),i=n(21938),o=n(55729),a=n(45460),s=n(2241);let l=(0,a.R)(function(e,t){let{spacing:n="0.5rem",spacingX:a,spacingY:l,children:c,justify:h,direction:d,align:p,className:f,shouldWrapChildren:m,...g}=e,y=(0,o.useMemo)(()=>m?o.Children.map(c,(e,t)=>(0,r.jsx)(u,{children:e},t)):c,[c,m]);return(0,r.jsx)(s.B.div,{ref:t,className:(0,i.cx)("chakra-wrap",f),...g,children:(0,r.jsx)(s.B.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:h,alignItems:p,flexDirection:d,listStyleType:"none",gap:n,columnGap:a,rowGap:l,padding:"0"},children:y})})});l.displayName="Wrap";let u=(0,a.R)(function(e,t){let{className:n,...o}=e;return(0,r.jsx)(s.B.li,{ref:t,__css:{display:"flex",alignItems:"flex-start"},className:(0,i.cx)("chakra-wrap__listitem",n),...o})});u.displayName="WrapItem"},40318:(e,t,n)=>{"use strict";n.d(t,{OQ:()=>u,bt:()=>s});var r=n(58838),i=n(51803),o=n(78737),a=n(50891);let s={current:void 0};class l{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=o.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new r.v);let n=this.events[e].add(t);return"change"===e?()=>{n(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s.current&&s.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},40574:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,f:()=>i});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},40695:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(33023),i=n(35387);let o=(0,r.A)(i.A,"Map")},40745:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>L,i3:()=>F,UC:()=>B,bL:()=>R,Bk:()=>b});var r=n(55729),i=n(92309),o=n(46400),a=n(49253);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let n=!1,r=e.map(e=>{let r=s(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,a,s=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?l(t,s):s),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),s=a.find(d);if(s){let e=s.props.children,i=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,c.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,c.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),f=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,c.jsx)(p.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});f.displayName="Arrow";var m=n(35896),g=n(24347),y="Popper",[v,b]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),a=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,l=n?.[e]?.[a]||o,u=r.useMemo(()=>s,Object.values(s));return(0,c.jsx)(l.Provider,{value:u,children:i})};return s.displayName=t+"Provider",[s,function(n,s){let l=s?.[e]?.[a]||o,u=r.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(y),[w,x]=v(y),_=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,c.jsx)(w,{scope:t,anchor:i,onAnchorChange:o,children:n})};_.displayName=y;var k="PopperAnchor",E=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,a=x(k,n),s=r.useRef(null),l=u(t,s),h=r.useRef(null);return r.useEffect(()=>{let e=h.current;h.current=i?.current||s.current,e!==h.current&&a.onAnchorChange(h.current)}),i?null:(0,c.jsx)(p.div,{...o,ref:l})});E.displayName=k;var A="PopperContent",[S,C]=v(A),T=r.forwardRef((e,t)=>{let{__scopePopper:n,side:s="bottom",sideOffset:l=0,align:h="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:y=!0,collisionBoundary:v=[],collisionPadding:b=0,sticky:w="partial",hideWhenDetached:_=!1,updatePositionStrategy:k="optimized",onPlaced:E,...C}=e,T=x(A,n),[M,P]=r.useState(null),O=u(t,e=>P(e)),[R,L]=r.useState(null),B=(0,g.X)(R),F=B?.width??0,j=B?.height??0,U="number"==typeof b?b:{top:0,right:0,bottom:0,left:0,...b},z=Array.isArray(v)?v:[v],$=z.length>0,H={padding:U,boundary:z.filter(D),altBoundary:$},{refs:V,floatingStyles:W,placement:q,isPositioned:Y,middlewareData:G}=(0,i.we)({strategy:"fixed",placement:s+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(0,o.ll)(...e,{animationFrame:"always"===k}),elements:{reference:T.anchor},middleware:[(0,a.cY)({mainAxis:l+j,alignmentAxis:d}),y&&(0,o.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===w?(0,o.ER)():void 0,...H}),y&&(0,o.UU)({...H}),(0,o.Ej)({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),R&&(0,i.UE)({element:R,padding:f}),I({arrowWidth:F,arrowHeight:j}),_&&(0,o.jD)({strategy:"referenceHidden",...H})]}),[K,X]=N(q),Z=function(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(E);(0,m.N)(()=>{Y&&Z?.()},[Y,Z]);let J=G.arrow?.x,Q=G.arrow?.y,ee=G.arrow?.centerOffset!==0,[et,en]=r.useState();return(0,m.N)(()=>{M&&en(window.getComputedStyle(M).zIndex)},[M]),(0,c.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:Y?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[G.transformOrigin?.x,G.transformOrigin?.y].join(" "),...G.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(S,{scope:n,placedSide:K,onArrowChange:L,arrowX:J,arrowY:Q,shouldHideArrow:ee,children:(0,c.jsx)(p.div,{"data-side":K,"data-align":X,...C,ref:O,style:{...C.style,animation:Y?void 0:"none"}})})})});T.displayName=A;var M="PopperArrow",P={top:"bottom",right:"left",bottom:"top",left:"right"},O=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=C(M,n),o=P[i.placedSide];return(0,c.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(f,{...r,ref:t,style:{...r.style,display:"block"}})})});function D(e){return null!==e}O.displayName=M;var I=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=N(n),c={start:"0%",center:"50%",end:"100%"}[u],h=(i.arrow?.x??0)+a/2,d=(i.arrow?.y??0)+s/2,p="",f="";return"bottom"===l?(p=o?c:`${h}px`,f=`${-s}px`):"top"===l?(p=o?c:`${h}px`,f=`${r.floating.height+s}px`):"right"===l?(p=`${-s}px`,f=o?c:`${d}px`):"left"===l&&(p=`${r.floating.width+s}px`,f=o?c:`${d}px`),{data:{x:p,y:f}}}});function N(e){let[t,n="center"]=e.split("-");return[t,n]}var R=_,L=E,B=T,F=O},40913:(e,t,n)=>{"use strict";var r=n(6029),i=n(55729),o=n(27229),a=n(16503),s=n(88507),l=n(45460),u=n(94740),c=n(2241),h=n(40697),d=n(40452),p=n(26420),f=n(96500),m=n(72470),g=n(38036),y=n(77979),v=n(3276),b=n(8527),w=n(40162),x=n(59272),_=n(18078),k=n(53996),E=n(4192);let[A,S]=function(){let e=i.createContext(void 0);return e.displayName="AutoCompleteContext",[e.Provider,function t(){var n;let r=i.useContext(e);if(!r){let e=Error("useAutoCompleteContext: `context` is undefined. Seems you forgot to wrap all autoomplete components within ``");throw e.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,e,t),e}return r},e]}();function C(e){return null!=e&&e.length?e[e.length-1]:void 0}function T(e,t,n=1,r=!0){if(0===t)return -1;let i=e+n;return -1===e&&(i=n>0?0:t-1),i=r?(i%t+t)%t:Math.max(0,Math.min(i,t-1))}function M(e){return Array.isArray(e)}function P(e){return null!==e&&"object"==typeof e&&!M(e)}function O(e){return M(e)?M(e)&&0===e.length:P(e)?P(e)&&0===Object.keys(e).length:null==e||""===e}function D(e){return typeof e>"u"}function I(e){return"u">typeof e}function N(e,t){let n={...e};return t.forEach(e=>{delete n[e]}),n}function R(e,...t){return"function"==typeof e?e(...t):e}var L=function(e,t){for(var n,r=i.Children.toArray(e),o=0;o{var t;return null==(t="string"==typeof e||"number"==typeof e?e:e[Object.keys(e)[0]])?void 0:t.toString()},z=(e,t,n)=>(null==t?void 0:t.toLowerCase().indexOf(null==e?void 0:e.toLowerCase()))>=0||(null==n?void 0:n.toLowerCase().indexOf(null==e?void 0:e.toLowerCase()))>=0||j(e,t)>=.5||j(e,n)>=.5;(0,l.R)((e,t)=>{let n=function(e){var t;let{prefocusFirstItem:n=!0,closeOnBlur:r=!0,creatable:l,emphasize:u,emptyState:c=!0,defaultEmptyStateProps:h={},freeSolo:d,isReadOnly:p,listAllValuesOnFocus:f,maxSuggestions:m,multiple:g,closeOnSelect:y=!g,defaultValue:v,defaultValues:b=v?[v]:[],onReady:w,defaultIsOpen:x,disableFilter:_,isLoading:k=!1,placement:E="bottom",restoreOnBlurIfEmpty:A=!d,shouldRenderSuggestions:S=()=>!0,submitKeys:M=[],suggestWhenEmpty:B,value:j,values:$=j?"string"==typeof j?[j]:[...j]:void 0}=e;d=d||!!g||e.freeSolo;let{isOpen:H,onClose:V,onOpen:W}=(0,o.j)({defaultIsOpen:x}),q=(0,i.useMemo)(()=>R(e.children,{isOpen:H,onClose:V,onOpen:W}),[e.children,H]),Y=(0,i.useMemo)(()=>F(q,e=>{var t;return(null==(t=null==e?void 0:e.type)?void 0:t.displayName)==="AutoCompleteItem"}).map(e=>{let t=function(e,t){let n={};return t.forEach(t=>{t in e&&(n[t]=e[t])}),n}(e.props,["value","label","fixed","disabled"]),{getValue:n=U}=e.props,r=n(t.value);return{...I(t.label)?t:{...t,label:r},value:r,originalValue:t.value}}),[q]),G=(0,i.useRef)(null),K=(0,i.useRef)(null),X=(0,i.useRef)(null),Z=(0,i.useRef)(null),[J,Q]=(0,i.useState)(!1),ee="";g?ee="":D(b)?D($)||(ee=$[0]):ee=b[0];let[et,en]=(0,i.useState)(ee??""),er=(0,i.useMemo)(()=>_?Y:Y.filter(t=>t.fixed||R(e.filter||z,et,t.value,t.label)||J).filter((e,t)=>!m||e.fixed||t[...er,...ei],[er,ei]),[ea,es]=(0,a.i)({defaultValue:b.map(e=>null==e?void 0:e.toString()),value:$,onChange:t=>{let n=eo.find(e=>e.value===t[0]);if(!n)return;let r=t.map(e=>eo.find(t=>t.value===e));R(e.onChange,g?t:t[0],g?r:n)}});(0,i.useEffect)(()=>{0===eo.length&&!c&&H&&V()},[eo.length,c,H]);let[el,eu]=(0,i.useState)(n?null==(t=Y[0])?void 0:t.value:null),ec=e.maxSelections||ea.length+1,eh=eo.findIndex(e=>e.value===el),ed=function(e,t,n=!0){let r=T(e,t.length,1,n);return t[r]}(eh,eo,!!e.rollNavigation),ep=function(e,t,n=!0){let r=function(e,t,n=!0){return T(e,t,-1,n)}(e,t.length,n);return t[r]}(eh,eo,!!e.rollNavigation),ef=null==eo?void 0:eo[0],em=C(eo),eg=!eo.some(e=>e.value===el);(0,i.useEffect)(()=>{var e;eg&&eu(n?null==(e=Y[0])?void 0:e.value:null)},[eg]),(0,s.w)(()=>{n&&eu(null==ef?void 0:ef.value)},[et,null==ef?void 0:ef.value]),(0,i.useEffect)(()=>{var e;!H&&n&&eu(null==(e=Y[0])?void 0:e.value)},[H]),(0,i.useEffect)(()=>{H&&f&&Q(!0)},[H,f,Q]),(0,i.useEffect)(()=>{let t=Y.find(e=>e.value===el);R(e.onOptionFocus,{item:t,focusMethod:Z.current,isNewInput:null==t?void 0:t.creatable})},[el,e.onOptionFocus]);let ey=t=>{var n,r;let i=eo.find(e=>e.value===t),o=(null==i?void 0:i.label)||(null==i?void 0:i.value);en(()=>g?"":o??""),!ea.includes(t)&&ea.lengthg?[...e,t]:[t]),g&&(null==(n=G.current)||n.focus()),e.focusInputOnSelect&&(null==(r=G.current)||r.focus()),R(e.onSelectOption,{item:i,selectMethod:Z.current,isNewInput:null==i?void 0:i.creatable}),null!=i&&i.creatable&&R(e.onCreateOption,{item:N(i,["noFilter"]),selectMethod:Z.current}),y&&V()},ev=(t,n)=>{var r;es(n=>{let r=Y.find(e=>e.value===t);return r||!0!==l||(r={label:t,value:t}),r?(R(e.onTagRemoved,t,r,n),n.filter(e=>e!==t)):n});let i=Y.find(e=>e.value===t);et===((null==i?void 0:i.label)||(null==i?void 0:i.value))&&en(""),n&&(null==(r=G.current)||r.focus())},eb=g?ea.map(e=>{var t;return{label:(null==(t=Y.find(t=>t.value===(null==e?void 0:e.toString())))?void 0:t.label)||e,onRemove:()=>ev(e)}}):[];return(0,i.useEffect)(()=>{R(w,{tags:eb})},[ea]),{autoCompleteProps:e,children:q,filteredList:eo,filteredResults:er,focusedValue:el,defaultEmptyStateProps:h,getEmptyStateProps:e=>{if(eo.every(e=>e.noFilter)&&c&&!l)return"boolean"==typeof c?e:R(c,{query:et})},getGroupProps:e=>{let t,n,r,i,o=(t=e.children,I(L(t,e=>{var t,n;let r=R((null==(t=e.props)?void 0:t.getValue)||U,(null==(n=e.props)?void 0:n.value)||{});return eo.some(e=>e.value===r)})));return{divider:{hasFirstChild:(n=e.children,L(n,e=>{var t;return(null==(t=null==e?void 0:e.type)?void 0:t.displayName)==="AutoCompleteItem"&&e.props.value===(null==ef?void 0:ef.value)})),hasLastChild:(r=e.children,i=C(eo.filter(e=>D(null==e?void 0:e.noFilter))),L(r,e=>{var t;return(null==(t=null==e?void 0:e.type)?void 0:t.displayName)==="AutoCompleteItem"&&e.props.value===(null==i?void 0:i.value)}))},group:{display:o?"initial":"none"}}},getInputProps:(t,n)=>{let{onBlur:i,onChange:o,onFocus:a,onKeyDown:s,variant:l,...u}=t;return{wrapper:{ref:K,onClick:()=>{var e;null==(e=null==G?void 0:G.current)||e.focus()},...((e,t)=>{let n={},r={},{field:i}=e;return i&&Object.keys(i).forEach(e=>{if(!1===e.startsWith("--input"))n[e]=i[e];else{let t=i[e],n=e.replace("--input-","").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()});-1!==t.indexOf(".")&&(t=t.substring(t.indexOf(".")+1)),r[n]=t}}),{...t&&{...n,...r,_focusWithin:e.field._focus,pos:"relative",minH:9,py:1.5,spacing:3},cursor:"text",h:"fit-content"}})(n,g),...u},input:{isReadOnly:p,onFocus:t=>{R(a,t),e.openOnFocus&&!p&&W(),e.selectOnFocus&&t.target.select(),f&&Q(!0)},onBlur:e=>{var t,n;R(i,e);let o=e.relatedTarget===(null==X?void 0:X.current)||(null==(t=X.current)?void 0:t.contains(e.relatedTarget)),a=null==(n=K.current)?void 0:n.contains(e.relatedTarget);if(!o&&!a&&(r&&V(),!ea.includes(e.target.value)&&A)){let e=C(ea),t=Y.find(t=>t.value===e);en((null==t?void 0:t.label)||(null==t?void 0:t.value)||"")}},onChange:e=>{let t=e.target.value;R(o,e),en(t);let n=O(t);R(S,t)&&(!n||B)?W():V(),Q(!1)},onKeyDown:e=>{var t;R(s,e),Z.current="keyboard";let{key:n}=e,r=eo[eh];if(["Enter",...M].includes(n)){r&&!(null!=r&&r.disabled)&&H?ey(null==r?void 0:r.value):null==(t=G.current)||t.focus(),e.preventDefault();return}if("ArrowDown"===n){H?eu(null==ed?void 0:ed.value):W(),e.preventDefault();return}if("ArrowUp"===n){H?eu(null==ep?void 0:ep.value):W(),e.preventDefault();return}if("Tab"===n)return void(H&&r&&!(null!=r&&r.disabled)?ey(null==r?void 0:r.value):V());if("Home"===n){eu(null==ef?void 0:ef.value),e.preventDefault();return}if("End"===n){eu(null==em?void 0:em.value),e.preventDefault();return}"Escape"===n&&(V(),e.preventDefault())},value:et,variant:g?"unstyled":l,...u}}},getItemProps:(e,t)=>{var n;let{_fixed:r,_focus:i,children:o,disabled:a,label:s,value:l,fixed:c,getValue:h=U,onClick:d,onMouseOver:p,sx:f,...m}=e,g=t?l:null==(n=h(l))?void 0:n.toString(),y=g===el,v=eo.findIndex(e=>e.value===g)>=0,b=o||s||g;return{item:{..."string"!=typeof b||!u?{children:b}:{dangerouslySetInnerHTML:{__html:"string"!=typeof b||O(et)?b:b.toString().replace(RegExp(et.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"gi"),e=>`${e}`)}},"aria-selected":ea.includes(g),"aria-disabled":a,_disabled:{opacity:.4,cursor:"not-allowed",userSelect:"none"},onClick:e=>{var t;R(d,e),a?null==(t=G.current)||t.focus():ey(g)},onMouseOver:e=>{R(p,e),eu(g),Z.current="mouse"},sx:{...f,mark:{color:"inherit",bg:"transparent",...P(u)?u:{fontWeight:u?"extrabold":"inherit"}}},...y&&(i||{bg:"whiteAlpha.100",_light:{bg:"gray.200"}}),...c&&r,...m},root:{isValidSuggestion:v,value:g}}},inputRef:G,interactionRef:Z,isLoading:k,isOpen:H,itemList:Y,listRef:X,onClose:V,onOpen:W,placement:E,query:et,removeItem:ev,resetItems:e=>{var t;es([]),e&&(null==(t=G.current)||t.focus())},setQuery:en,tags:eb,value:j,values:ea}}(e),{children:l,isOpen:h,onClose:d,onOpen:p,placement:f,resetItems:m,removeItem:g}=n;(0,i.useImperativeHandle)(t,()=>({resetItems:m,removeItem:g}));let{matchWidth:y=!0}=n.autoCompleteProps;return(0,r.jsx)(A,{value:n,children:(0,r.jsx)(u.A,{isLazy:!0,isOpen:h,autoFocus:!1,placement:f,closeOnBlur:!0,matchWidth:y,children:(0,r.jsx)(c.B.div,{w:"full",ref:t,children:l})})})}).displayName="AutoComplete",(0,l.R)((e,t)=>{let{focusedValue:n,getItemProps:o,interactionRef:a}=S(),s=(0,i.useRef)(),l=(0,h.SV)(t,s),u=o(e),{isValidSuggestion:c,value:p}=u.root,f=n===p;(0,i.useEffect)(()=>{var e;f&&"keyboard"===a.current&&(null==(e=null==s?void 0:s.current)||e.scrollIntoView({behavior:"smooth",block:"nearest"}))},[f,a]),(0,i.useEffect)(()=>{"string"!=typeof p&&console.warn("wow"),"string"!=typeof p&&D(e.getValue)&&console.error("You must define the `getValue` prop, when an Item's value is not a string")},[]);let{children:m,dangerouslySetInnerHTML:g,...y}=u.item,v=N(y,["groupId"]);return c?(0,r.jsx)(d.s,{ref:l,...$,...v,children:m||(0,r.jsx)("span",{dangerouslySetInnerHTML:g})}):null}).displayName="AutoCompleteItem";let $={mx:"2",px:"2",py:"2",rounded:"md",cursor:"pointer"},H=(0,l.R)((e,t)=>{let{children:n,showDivider:i,...o}=e,a=N(o,["groupSibling"]),{getGroupProps:s}=S(),{group:l}=s(e),u=q(e);return(0,r.jsxs)(p.a,{ref:t,...l,...a,children:[(0,r.jsx)(f.c,{...u.top}),n,(0,r.jsx)(f.c,{...u.bottom})]})}),V=(0,l.R)((e,t)=>(0,r.jsx)(d.s,{...W,...e,ref:t}));H.displayName="AutoCompleteGroup",V.displayName="AutoCompleteGroupTitle";let W={ml:5,my:1,fontSize:"xs",letterSpacing:"wider",fontWeight:"extrabold",textTransform:"uppercase"},q=e=>{let{getGroupProps:t}=S(),n=e.groupSibling,{divider:{hasFirstChild:r,hasLastChild:i}}=t(e),o={my:2,borderColor:e.dividerColor};return{top:{...o,mb:4,display:!e.showDivider||r?"none":""},bottom:{...o,display:!e.showDivider||i||n?"none":""}}},Y=(0,l.R)((e,t)=>{let{isLoading:n}=S(),{loadingIcon:i,...o}=e;return(0,r.jsxs)(m.M,{children:[(0,r.jsx)(g.p,{...o,ref:t}),n&&(0,r.jsx)(y.t,{children:i||(0,r.jsx)(v.y,{})})]})}),G=(0,l.R)((e,t)=>{let{autoCompleteProps:n,inputRef:o,getInputProps:a,tags:s,setQuery:l,value:u,itemList:c}=S(),{children:d,isInvalid:p,hidePlaceholder:f,...m}=e,{value:g}=m;(0,i.useEffect)(()=>{if(void 0!==u&&("string"==typeof u||u instanceof String)){let e=c.find(e=>e.value===u);l(void 0===e?u:e.label)}},[u]),(0,i.useEffect)(()=>{void 0!==g&&("string"==typeof g||g instanceof String)&&l(g)},[g]);let{wrapper:y,input:v}=a(m,(0,b.o)("Input",e)),{ref:_,...k}=y,E=(0,h.SV)(t,o),A=R(d,{tags:s});f&&(v={...v,placeholder:Array.isArray(A)&&A.length?void 0:v.placeholder});let C=(0,r.jsx)(Y,{isInvalid:p,...v,ref:E}),T=(0,r.jsxs)(w.B,{"aria-invalid":p,...k,ref:_,children:[A,(0,r.jsx)(w.Q,{as:Y,...v,ref:E})]});return(0,r.jsx)(x.d,{children:n.multiple?T:C})});G.displayName="Input",G.id="Input";let K=e=>{let{getEmptyStateProps:t,defaultEmptyStateProps:n}=S(),i=t((0,r.jsx)(d.s,{...X,...n,children:"No options found!"}));return(0,r.jsx)(p.a,{...e,children:i})},X={fontSize:"sm",align:"center",justify:"center",fontWeight:"bold",fontStyle:"italic"},Z=["AutoCompleteGroup","AutoCompleteItem","AutoCompleteCreatable"];(0,l.R)((e,t)=>{let{children:n,loadingState:o,...a}=e,{listRef:s,isLoading:l}=S(),u=(0,h.SV)(t,s),[c,d]=(e=>{let t=i.Children.map(e,(t,n)=>{var r;if((null==(r=null==t?void 0:t.type)?void 0:r.displayName)==="AutoCompleteGroup"){let r=i.Children.toArray(e)[n+1];return i.cloneElement(t,{groupSibling:!!r&&"AutoCompleteGroup"===r.type.displayName})}return t}),n=i.Children.toArray(t).filter(e=>{var t;return!Z.includes(null==(t=null==e?void 0:e.type)?void 0:t.displayName)});return[i.Children.toArray(t).filter(e=>{var t;return Z.includes(null==(t=null==e?void 0:e.type)?void 0:t.displayName)}),n]})(n);return(0,r.jsxs)(_.h,{ref:u,w:"inherit",...J,...a,children:[l&&(0,r.jsx)(k.o,{children:o||(0,r.jsx)(v.y,{size:"md"})}),!l&&(0,r.jsxs)(r.Fragment,{children:[c,(0,r.jsx)(K,{}),d]})]})}).displayName="AutoCompleteList";let J={py:"4",opacity:"0",bg:"#232934",rounded:"md",maxH:"350px",border:"none",shadow:"base",zIndex:"popover",overflowY:"auto",_light:{bg:"#ffffff"},_focus:{boxShadow:"none"}},Q=((0,i.memo)(e=>{let{label:t,onRemove:n,disabled:i,...o}=e;return(0,r.jsx)(w.Q,{children:(0,r.jsxs)(E.vw,{borderRadius:"md",fontWeight:"normal",...i&&Q,...o,children:[(0,r.jsx)(E.d1,{children:t}),(0,r.jsx)(E.TV,{onClick:()=>!i&&R(n),cursor:"pointer",...i&&Q})]})})}),{cursor:"text",userSelect:"none",opacity:.4,_focus:{boxShadow:"none"}})},40995:(e,t,n)=>{"use strict";function r(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}n.d(t,{A:()=>r})},41033:(e,t,n)=>{var r=n(88601),i=n(66678),o=n(14430),a=n(3540),s=n(97722),l=Array.prototype.splice;e.exports=function(e,t,n,u){var c=u?o:i,h=-1,d=t.length,p=e;for(e===t&&(t=s(t)),n&&(p=r(e,a(n)));++h-1;)p!==e&&l.call(p,f,1),l.call(e,f,1);return e}},41136:(e,t,n)=>{"use strict";n.d(t,{Bq:()=>D,MV:()=>y,M_:()=>m,NC:()=>k,NO:()=>S,Op:()=>C,Oy:()=>_,Rr:()=>v,SF:()=>M,VH:()=>O,_o:()=>b,jy:()=>A,ts:()=>T,v8:()=>P,vL:()=>x,zd:()=>g});var r=n(48331),i=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))l.call(t,n)&&c(e,n,t[n]);if(s)for(var n of s(t))u.call(t,n)&&c(e,n,t[n]);return e},d=(e,t)=>o(e,a(t));function p(e,...t){return{didIntersect:t.length>0,message:e,points:t}}function f(e,t,n=0){let i=[e[0]+t[0]/2,e[1]+t[1]/2],o=r.l.rotWith(e,i,n),a=r.l.rotWith(r.l.add(e,[t[0],0]),i,n),s=r.l.rotWith(r.l.add(e,t),i,n),l=r.l.rotWith(r.l.add(e,[0,t[1]]),i,n);return[["top",[o,a]],["right",[a,s]],["bottom",[s,l]],["left",[l,o]]]}function m(e,t){let n=r.l.slope(e[0],e[1]),i=r.l.slope(t[0],t[1]);if(n===i)return;if(Number.isNaN(n)&&!Number.isNaN(i))return[e[0][0],(e[0][0]-t[0][0])*i+t[0][1]];if(Number.isNaN(i)&&!Number.isNaN(n))return[t[0][0],(t[0][0]-e[0][0])*n+e[0][1]];let o=(n*e[0][0]-i*t[0][0]+t[0][1]-e[0][1])/(n-i),a=i*(o-t[0][0])+t[0][1];return[o,a]}function g(e,t,n,r){let[i,o]=e,[a,s]=t,[l,u]=n,[c,h]=r;if(s/a!=(h-u)/(c-l)){let e=a*(h-u)-s*(c-l);if(0!==e){let t=((o-u)*(c-l)-(i-l)*(h-u))/e,n=((o-u)*a-(i-l)*s)/e;if(t>=0&&n>=0&&n<=1)return p("intersection",[i+t*a,o+t*s])}}return p("no intersection")}function y(e,t,n,i,o,a){return x(e,r.l.mul(t,0x3b9ac9ff),n,i,o,a)}function v(e,t,n,r=0){let{minX:i,minY:o,width:a,height:s}=n;return function(e,t,n,r,i=0){var o,a,s,l,u;return o=n,a=r,s=i,l=e,u=t,f(o,a,s).reduce((e,[t,[n,r]])=>{let i=g(l,u,n,r);return i&&e.push(p(t,...i.points)),e},[]).filter(e=>e.didIntersect)}(e,t,[i,o],[a,s],r)}function b(e,t,n,i){let o=r.l.sub(e,n),a=r.l.sub(i,n),s=r.l.sub(t,e),l=a[0]*o[1]-a[1]*o[0],u=s[0]*o[1]-s[1]*o[0],c=a[1]*s[0]-a[0]*s[1];if(0===l||0===u)return p("coincident");if(0===c)return p("parallel");if(0!==c){let t=l/c,n=u/c;if(0<=t&&t<=1&&0<=n&&n<=1)return p("intersection",r.l.add(e,r.l.mul(s,t)))}return p("no intersection")}function w(e,t,n,i){let o=(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]),a=2*((t[0]-e[0])*(e[0]-n[0])+(t[1]-e[1])*(e[1]-n[1])),s=a*a-4*o*(n[0]*n[0]+n[1]*n[1]+e[0]*e[0]+e[1]*e[1]-2*(n[0]*e[0]+n[1]*e[1])-i*i);if(s<0)return p("outside");if(0===s)return p("tangent");let l=Math.sqrt(s),u=(-a+l)/(2*o),c=(-a-l)/(2*o);if((u<0||u>1)&&(c<0||c>1))if(u<0&&c<0||u>1&&c>1)return p("outside");else return p("inside");let h=[];return 0<=u&&u<=1&&h.push(r.l.lrp(e,t,u)),0<=c&&c<=1&&h.push(r.l.lrp(e,t,c)),p("intersection",...h)}function x(e,t,n,i,o,a=0){if(0===i||0===o||r.l.isEqual(e,t))return p("no intersection");i=i<0?i:-i,o=o<0?o:-o,e=r.l.sub(r.l.rotWith(e,n,-a),n),t=r.l.sub(r.l.rotWith(t,n,-a),n);let s=r.l.sub(t,e),l=s[0]*s[0]/i/i+s[1]*s[1]/o/o,u=2*e[0]*s[0]/i/i+2*e[1]*s[1]/o/o,c=e[0]*e[0]/i/i+e[1]*e[1]/o/o-1,h=[],d=u*u-4*l*c;if(0===d)h.push(-u/2/l);else if(d>0){let e=Math.sqrt(d);h.push((-u+e)/2/l),h.push((-u-e)/2/l)}return p("intersection",...h.filter(e=>e>=0&&e<=1).map(i=>r.l.add(n,r.l.add(e,r.l.mul(r.l.sub(t,e),i)))).map(e=>r.l.rotWith(e,n,a)))}function _(e,t,n){var r=n,i=e,o=t;let{minX:a,minY:s,width:l,height:u}=r;return E([a,s],[l,u],i,o)}function k(e,t,n){let r=[];for(let i=1;i{let a=b(n,r,i,o);return a&&e.push(p(t,...a.points)),e},[]).filter(e=>e.didIntersect)}function A(e,t,n,i,o){let{minX:a,minY:s,width:l,height:u}=o;return f([a,s],[l,u]).reduce((o,[a,[s,l]])=>{let u=function(e,t,n,i,o,a){let s=r.l.angle(e,n),l=r.l.angle(e,i),u=function(e,t,n,r=0,i,o){return t===n?w(i,o,e,t):x(i,o,e,t,n,r)}(e,t,t,0,o,a);if(!u.didIntersect)return p("no intersection");let c=u.points.filter(t=>(function(e,t,n){if(n===e||n===t)return!0;let r=2*Math.PI,i=(t-e+r)%r;return i<=Math.PI!=(n-e+r)%r>i})(s,l,r.l.angle(e,t)));return 0===c.length?p("no intersection"):p("intersection",...c)}(e,t,n,i,s,l);return u&&o.push(d(h({},u),{message:a})),o},[]).filter(e=>e.didIntersect)}function S(e,t,n,r){return w(n,r,e,t)}function C(e,t,n,r){let i=n[0]-e[0],o=n[1]-e[1],a=Math.sqrt(i*i+o*o),s=(a*a-r*r+t*t)/(2*a),l=Math.sqrt(t*t-s*s);return i/=a,o/=a,p("intersection",[e[0]+i*s-o*l,e[1]+o*s+i*l],[e[0]+i*s+o*l,e[1]+o*s-i*l])}function T(e,t,n,r,i){let{minX:o,minY:a,width:s,height:l}=i;return function(e,t,n,r=0,i,o){if(t===n)return f(i,o).reduce((n,[r,[i,o]])=>{let a=w(i,o,e,t);return a&&n.push(d(h({},a),{message:r})),n},[]).filter(e=>e.didIntersect);return function(e,t,n,r,i,o=0){return f(e,t).reduce((e,[t,[a,s]])=>{let l=x(a,s,n,r,i,o);return l&&e.push(d(h({},l),{message:t})),e},[]).filter(e=>e.didIntersect)}(i,o,e,t,n,r)}(e,t,n,r,[o,a],[s,l])}function M(e,t){var n,r,i,o;return n=[e.minX,e.minY],r=[e.width,e.height],i=[t.minX,t.minY],o=[t.width,t.height],f(n,r).reduce((e,[t,[n,r]])=>{let a=E(i,o,n,r);return e.push(...a.map(e=>p(`${t} ${e.message}`,...e.points))),e},[]).filter(e=>e.didIntersect)}function P(e,t){return function(e,t){var n,r;return n=[t.minX,t.minY],r=[t.width,t.height],f(n,r).reduce((t,[n,[r,i]])=>{let o=k(r,i,e);return o.didIntersect&&t.push(p(n,...o.points)),t},[]).filter(e=>e.didIntersect)}(t,e)}function O(e,t){return D(t,e)}function D(e,t){var n,r;return n=[t.minX,t.minY],r=[t.width,t.height],f(n,r).reduce((t,[n,[r,i]])=>{let o=function(e,t,n){let r=[];for(let i=1;ie.didIntersect)}},41352:(e,t,n)=>{"use strict";let r,i;n.d(t,{qO:()=>ey,To:()=>el,Ay:()=>el});var o=n(3670),a=n(51598),s=n(78619);function l(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var u=0;function c(e){return"__private_"+u+++"_"+e}var h=c("callbacks"),d=c("publish");class p{constructor(){Object.defineProperty(this,d,{value:f}),Object.defineProperty(this,h,{writable:!0,value:new Set}),this.state={}}getState(){return this.state}setState(e){let t={...this.state},n={...this.state,...e};this.state=n,l(this,d)[d](t,n,e)}subscribe(e){return l(this,h)[h].add(e),()=>{l(this,h)[h].delete(e)}}}function f(){for(var e=arguments.length,t=Array(e),n=0;n{e(...t)})}function m(e){let t=e.lastIndexOf(".");return -1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}}p.VERSION="3.0.2";var g=n(89557);function y(e){let t="";return e.replace(/[^A-Z0-9]/ig,e=>(t+=`-${e.charCodeAt(0).toString(32)}`,"/"))+t}function v(e){return e<10?`0${e}`:e.toString()}function b(){let e=new Date,t=v(e.getHours()),n=v(e.getMinutes()),r=v(e.getSeconds());return`${t}:${n}:${r}`}let w={debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),n=0;n{let t=e();if(null!=t.restrictions.allowedFileTypes&&!Array.isArray(t.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");return t}}validate(e,t){let{maxFileSize:n,minFileSize:r,maxTotalFileSize:i,maxNumberOfFiles:o,allowedFileTypes:a}=this.getOpts().restrictions;if(o&&t.filter(e=>!e.isGhost).length+1>o)throw new A(`${this.i18n("youCanOnlyUploadX",{smart_count:o})}`);if(a&&!a.some(t=>t.includes("/")?!!e.type&&k(e.type.replace(/;.*?$/,""),t):"."===t[0]&&!!e.extension&&e.extension.toLowerCase()===t.slice(1).toLowerCase())){let e=a.join(", ");throw new A(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}if(i&&null!=e.size&&t.reduce((e,t)=>e+t.size,e.size)>i)throw new A(this.i18n("exceedsSize",{size:_(i),file:e.name}));if(n&&null!=e.size&&e.size>n)throw new A(this.i18n("exceedsSize",{size:_(n),file:e.name}));if(r&&null!=e.size&&e.sizee,onBeforeUpload:e=>e,store:new p,logger:w,infoTimeout:5e3};this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=x),this.log(`Using Core v${this.constructor.VERSION}`),this.i18nInit(),this.calculateProgress=s(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:function(e){if(null==e&&"undefined"!=typeof navigator&&(e=navigator.userAgent),!e)return!0;let t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;let[n,r]=t[1].split(".");return n=parseInt(n,10),r=parseInt(r,10),!!(n<15)||15===n&&!!(r<15063)||!!(n>18)||18===n&&!!(r>=18218)}(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),T(this,D)[D]=new S(()=>this.opts,this.i18n),T(this,I)[I]=this.store.subscribe((e,t,n)=>{this.emit("state-update",e,t,n),this.updateAll(t)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),T(this,V)[V]()}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}setFileState(e,t){if(!this.getState().files[e])throw Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){let e=new o.A([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(e=>{e.setOptions()}),this.setState()}resetProgress(){let e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach(r=>{let i={...t[r]};i.progress={...i.progress,...e},n[r]=i}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){T(this,R)[R].add(e)}removePreProcessor(e){return T(this,R)[R].delete(e)}addPostProcessor(e){T(this,B)[B].add(e)}removePostProcessor(e){return T(this,B)[B].delete(e)}addUploader(e){T(this,L)[L].add(e)}removeUploader(e){return T(this,L)[L].delete(e)}setMeta(e){let t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach(t=>{n[t]={...n[t],meta:{...n[t].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){let n={...this.getState().files};if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);let r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){let{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){let{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),i=r.filter(e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted}),o=r.filter(e=>!e.progress.uploadStarted),a=r.filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess),s=r.filter(e=>e.progress.uploadStarted),l=r.filter(e=>e.isPaused),u=r.filter(e=>e.progress.uploadComplete),c=r.filter(e=>e.error),h=i.filter(e=>!e.isPaused),d=r.filter(e=>e.progress.preprocess||e.progress.postprocess);return{newFiles:o,startedFiles:a,uploadStartedFiles:s,pausedFiles:l,completeFiles:u,erroredFiles:c,inProgressFiles:i,inProgressNotPausedFiles:h,processingFiles:d,isUploadStarted:s.length>0,isAllComplete:100===t&&u.length===r.length&&0===d.length,isAllErrored:!!n&&c.length===r.length,isAllPaused:0!==i.length&&l.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:r.some(e=>e.isGhost)}}validateRestrictions(e,t){void 0===t&&(t=this.getFiles());try{T(this,D)[D].validate(e,t)}catch(e){return e}return null}checkIfFileAlreadyExists(e){let{files:t}=this.getState();return!!t[e]&&!t[e].isGhost}addFile(e){T(this,z)[z](e);let{files:t}=this.getState(),n=T(this,$)[$](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),T(this,H)[H](),n.id}addFiles(e){T(this,z)[z]();let t={...this.getState().files},n=[],r=[];for(let i=0;i{this.emit("file-added",e)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(e=>{this.log(`Added file: ${n[e].name} id: ${n[e].id} type: ${n[e].type}`)}),n.length>0&&T(this,H)[H](),r.length>0){let e="Multiple errors occurred while adding files:\n";if(r.forEach(t=>{e+=` * ${t.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:e},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw AggregateError(r,e);{let t=Error(e);throw t.errors=r,t}}}removeFiles(e,t){let{files:n,currentUploads:r}=this.getState(),i={...n},o={...r},a=Object.create(null);function s(e){return void 0===a[e]}e.forEach(e=>{n[e]&&(a[e]=n[e],delete i[e])}),Object.keys(o).forEach(e=>{let t=r[e].fileIDs.filter(s);if(0===t.length)return void delete o[e];let{capabilities:n}=this.getState();if(t.length!==r[e].fileIDs.length&&!n.individualCancellation)throw Error("individualCancellation is disabled");o[e]={...r[e],fileIDs:t}});let l={currentUploads:o,files:i};0===Object.keys(i).length&&(l.allowNewUpload=!0,l.error=null,l.recoveredState=null),this.setState(l),this.calculateTotalProgress();let u=Object.keys(a);u.forEach(e=>{this.emit("file-removed",a[e],t)}),u.length>5?this.log(`Removed ${u.length} files`):this.log(`Removed files: ${u.join(", ")}`)}removeFile(e,t){void 0===t&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;let t=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let n={...e[t],isPaused:!0};e[t]=n}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let n={...e[t],isPaused:!1,error:null};e[t]=n}),this.setState({files:e}),this.emit("resume-all")}retryAll(){let e={...this.getState().files},t=Object.keys(e).filter(t=>e[t].error);if(t.forEach(t=>{let n={...e[t],isPaused:!1,error:null};e[t]=n}),this.setState({files:e,error:null}),this.emit("retry-all",t),0===t.length)return Promise.resolve({successful:[],failed:[]});let n=T(this,q)[q](t,{forceAllowNewUpload:!0});return T(this,K)[K](n)}cancelAll(e){let{reason:t="user"}=void 0===e?{}:e;if(this.emit("cancel-all",{reason:t}),"user"===t){let{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);let t=T(this,q)[q]([e],{forceAllowNewUpload:!0});return T(this,K)[K](t)}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);let n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){let e=this.getFiles().filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess);if(0===e.length){this.emit("progress",0),this.setState({totalProgress:0});return}let t=e.filter(e=>null!=e.progress.bytesTotal),n=e.filter(e=>null==e.progress.bytesTotal);if(0===t.length){let t=100*e.length,r=Math.round(n.reduce((e,t)=>e+t.progress.percentage,0)/t*100);this.setState({totalProgress:r});return}let r=t.reduce((e,t)=>e+t.progress.bytesTotal,0),i=r/t.length;r+=i*n.length;let o=0;t.forEach(e=>{o+=e.progress.bytesUploaded}),n.forEach(e=>{o+=i*(e.progress.percentage||0)/100});let a=0===r?0:Math.round(o/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if("function"!=typeof e)throw TypeError(`Expected a plugin class, but got ${null===e?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);let n=new e(this,t),r=n.id;if(!r)throw Error("Your plugin must have an id");if(!n.type)throw Error("Your plugin must have a type");let i=this.getPlugin(r);if(i)throw Error(`Already found a plugin named '${i.id}'. Tried to use: '${r}'. Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`);return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in T(this,O)[O]?T(this,O)[O][n.type].push(n):T(this,O)[O][n.type]=[n],n.install(),this}getPlugin(e){for(let t of Object.values(T(this,O)[O])){let n=t.find(t=>t.id===e);if(null!=n)return n}}[r](e){return T(this,O)[O][e]}iteratePlugins(e){Object.values(T(this,O)[O]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();let t=T(this,O)[O][e.type],n=t.findIndex(t=>t.id===e.id);-1!==n&&t.splice(n,1);let r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r)}close(e){let{reason:t}=void 0===e?{}:e;this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll({reason:t}),T(this,I)[I](),this.iteratePlugins(e=>{this.removePlugin(e)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",T(this,W)[W]),window.removeEventListener("offline",T(this,W)[W]))}hideInfo(){let{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){void 0===t&&(t="info"),void 0===n&&(n=3e3);let r="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){let{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return(this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e])?T(this,K)[K](e):(T(this,G)[G](e),Promise.reject(Error("Nonexistent upload")))}[i](){return T(this,q)[q](...arguments)}addResultData(e,t){if(!T(this,Y)[Y](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);let{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}})}upload(){var e;null!=(e=T(this,O)[O].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState(),n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(Error("Not starting the upload because onBeforeUpload returned false")):(n&&"object"==typeof n&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>T(this,D)[D].validateMinNumberOfFiles(t)).catch(e=>{throw T(this,F)[F](e),e}).then(()=>{if(!T(this,U)[U](t))throw new A(this.i18n("missingRequiredMetaField"))}).catch(e=>{throw e}).then(()=>{let{currentUploads:e}=this.getState(),n=Object.values(e).flatMap(e=>e.fileIDs),r=[];Object.keys(t).forEach(e=>{let t=this.getFile(e);t.progress.uploadStarted||-1!==n.indexOf(e)||r.push(t.id)});let i=T(this,q)[q](r);return T(this,K)[K](i)}).catch(e=>{throw this.emit("error",e),this.log(e,"error"),e}))}}function Z(e,t){let{message:n,details:r=""}=e;e.isRestriction?this.emit("restriction-failed",t,e):this.emit("error",e),this.info({message:n,details:r},"error",this.opts.infoTimeout),this.log(e,"warning")}function J(e){let{missingFields:t,error:n}=T(this,D)[D].getMissingRequiredMetaFields(e);return!(t.length>0)||(this.setFileState(e.id,{missingRequiredMetaFields:t}),this.log(n.message),this.emit("restriction-failed",e,n),!1)}function Q(e){let t=!0;for(let n of Object.values(e))T(this,j)[j](n)||(t=!1);return t}function ee(e){let{allowNewUpload:t}=this.getState();if(!1===t){let t=new A(this.i18n("noMoreFilesAllowed"));throw T(this,F)[F](t,e),t}}function et(e,t){var n,r;let i;t instanceof File&&(t={name:t.name,type:t.type,size:t.size,data:t});let o=function(e){var t;if(e.type)return e.type;let n=e.name?null==(t=m(e.name).extension)?void 0:t.toLowerCase():null;return n&&n in g.A?g.A[n]:"application/octet-stream"}(t),a=(n=t).name?n.name:"image"===o.split("/")[0]?`${o.split("/")[0]}.${o.split("/")[1]}`:"noname",s=m(a).extension,l=!!t.isRemote,u=(r={...t,type:o},i="uppy","string"==typeof r.name&&(i+=`-${y(r.name.toLowerCase())}`),void 0!==r.type&&(i+=`-${r.type}`),r.meta&&"string"==typeof r.meta.relativePath&&(i+=`-${y(r.meta.relativePath.toLowerCase())}`),void 0!==r.data.size&&(i+=`-${r.data.size}`),void 0!==r.data.lastModified&&(i+=`-${r.data.lastModified}`),i);if(this.checkIfFileAlreadyExists(u)){let e=new A(this.i18n("noDuplicates",{fileName:a}));throw T(this,F)[F](e,t),e}let c=t.meta||{};c.name=a,c.type=o;let h=Number.isFinite(t.data.size)?t.data.size:null,d={source:t.source||"",id:u,name:a,extension:s||"",meta:{...this.getState().meta,...c},type:o,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:h,uploadComplete:!1,uploadStarted:null},size:h,isRemote:l,remote:t.remote||"",preview:t.preview},p=this.opts.onBeforeFileAdded(d,e);if(!1===p){let e=new A("Cannot add the file because onBeforeFileAdded returned false.");throw this.emit("restriction-failed",t,e),e}"object"==typeof p&&null!==p&&(d=p);try{let t=Object.keys(e).map(t=>e[t]);T(this,D)[D].validate(d,t)}catch(e){throw T(this,F)[F](e,d),e}return d}function en(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function er(){let e,t=(e,t,n)=>{let r=e.message||"Unknown error";e.details&&(r+=` ${e.details}`),this.setState({error:r}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n})};this.on("error",t),this.on("upload-error",(e,n,r)=>{if(t(n,e,r),"object"==typeof n&&n.message){let t=Error(n.message);t.details=n.message,n.details&&(t.details+=` ${n.details}`),t.message=this.i18n("failedToUpload",{file:null==e?void 0:e.name}),T(this,F)[F](t)}else T(this,F)[F](n)}),this.on("upload-stalled",(t,n)=>{let{message:r}=t,i=n.map(e=>e.meta.name).join(", ");e||(this.info({message:r,details:i},"warning",this.opts.infoTimeout),e=setTimeout(()=>{e=null},this.opts.infoTimeout)),this.log(`${r} ${i}`.trim(),"warning")}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",e=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}})}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,t)=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);let n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:T(this,B)[B].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(e,t)=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}})}),this.on("preprocess-complete",e=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})}),this.on("postprocess-progress",(e,t)=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}})}),this.on("postprocess-complete",e=>{if(null==e||!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${null==e?void 0:e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",e=>{e&&T(this,j)[j](e)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",T(this,W)[W]),window.addEventListener("offline",T(this,W)[W]),setTimeout(T(this,W)[W],3e3))}function ei(e,t){void 0===t&&(t={});let{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:i}=this.getState();if(!r&&!n)throw Error("Cannot create a new upload: already uploading.");let o=((e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})();return this.emit("upload",{id:o,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...i,[o]:{fileIDs:e,step:0,result:{}}}}),o}function eo(e){let{currentUploads:t}=this.getState();return t[e]}function ea(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function es(e){let t,{currentUploads:n}=this.getState(),r=n[e],i=r.step||0,o=[...T(this,R)[R],...T(this,L)[L],...T(this,B)[B]];try{for(let t=i;t{let t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t)});let t=r.fileIDs.map(e=>this.getFile(e)),i=t.filter(e=>!e.error),o=t.filter(e=>e.error);await this.addResultData(e,{successful:i,failed:o,uploadID:e}),r=(n=this.getState().currentUploads)[e]}return r&&(t=r.result,this.emit("complete",t),T(this,G)[G](e)),null==t&&this.log(`Not setting result for an upload that has been removed: ${e}`),t}X.VERSION="3.0.6";let el=X;var eu=n(18257),ec=n(74044),eh=n(99596),ed=n(94352);function ep(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var ef=0,em="__private_"+ef+++"_updateUI";class eg extends ed.A{constructor(){super(...arguments),Object.defineProperty(this,em,{writable:!0,value:void 0})}getTargetPlugin(e){let t;return"object"==typeof e&&e instanceof eg?t=e:"function"==typeof e&&this.uppy.iteratePlugins(n=>{n instanceof e&&(t=n)}),t}mount(e,t){var n,r;let i=t.id,o=(void 0===n&&(n=document),"string"==typeof e)?n.querySelector(e):(0,ec.A)(e)?e:null;if(o){let t,n;this.isTargetDOMEl=!0;let a=document.createElement("div");return a.classList.add("uppy-Root"),ep(this,em)[em]=(r=e=>{this.uppy.getPlugin(this.id)&&((0,eu.XX)(this.render(e),a),this.afterUpdate())},t=null,n=null,function(){for(var e=arguments.length,i=Array(e),o=0;o(t=null,r(...n)))),t}),this.uppy.log(`Installing ${i} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),(0,eu.XX)(this.render(this.uppy.getState()),a),this.el=a,o.appendChild(a),a.dir=this.opts.direction||(0,eh.A)(a)||"ltr",this.onMount(),this.el}let a=this.getTargetPlugin(e);if(a)return this.uppy.log(`Installing ${i} to ${a.id}`),this.parent=a,this.el=a.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${i}`);let s=`Invalid target option given to ${i}.`;throw"function"==typeof e?s+=" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":s+="If you meant to target an HTML element, please make sure that the element exists. Check that the